Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_OBSERVER_H_ | |
| 6 #define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_OBSERVER_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 namespace printing { | |
| 10 | |
| 11 // An interface the PrintViewManager uses to notify an observer when the print | |
| 12 // dialog is shown. Register the observer via PrintViewManager::SetObserver. | |
|
Lei Zhang
2011/06/28 09:15:38
s/SetObserver/set_observer/
James Hawkins
2011/06/28 18:15:36
Done.
| |
| 13 class PrintViewManagerObserver { | |
| 14 public: | |
| 15 // Notifies the observer that the print dialog was shown. | |
| 16 virtual void OnPrintDialogShown() = 0; | |
| 17 | |
| 18 protected: | |
| 19 virtual ~PrintViewManagerObserver() {} | |
| 20 }; | |
| 21 | |
| 22 } // namespace printing | |
| 23 | |
| 24 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_OBSERVER_H_ | |
| OLD | NEW |