Popular sites on the NTP: re-download popular suggestions once per Chrome run
[chromium-blink-merge.git] / chrome / browser / printing / print_view_manager_observer.h
blob55cd28c62d2e1ac76dfb8ca6c019a89306a5449c
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_OBSERVER_H_
6 #define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_OBSERVER_H_
8 namespace printing {
10 // An interface the PrintViewManager uses to notify an observer when the print
11 // dialog is shown. Register the observer via PrintViewManager::set_observer.
12 class PrintViewManagerObserver {
13 public:
14 // Notifies the observer that the print dialog was shown.
15 virtual void OnPrintDialogShown() = 0;
17 protected:
18 virtual ~PrintViewManagerObserver() {}
21 } // namespace printing
23 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_OBSERVER_H_