Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Side by Side Diff: chrome/browser/printing/print_view_manager_observer.h

Issue 10700155: Remove #pragma once from chrome/browser/{printing,safe_browsing,prefs,bookmarks,autocomplete} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/printing/print_view_manager.h ('k') | chrome/browser/printing/printer_query.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_OBSERVER_H_
6 #define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_OBSERVER_H_ 6 #define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_OBSERVER_H_
7 #pragma once
8 7
9 namespace printing { 8 namespace printing {
10 9
11 // An interface the PrintViewManager uses to notify an observer when the print 10 // An interface the PrintViewManager uses to notify an observer when the print
12 // dialog is shown. Register the observer via PrintViewManager::set_observer. 11 // dialog is shown. Register the observer via PrintViewManager::set_observer.
13 class PrintViewManagerObserver { 12 class PrintViewManagerObserver {
14 public: 13 public:
15 // Notifies the observer that the print dialog was shown. 14 // Notifies the observer that the print dialog was shown.
16 virtual void OnPrintDialogShown() = 0; 15 virtual void OnPrintDialogShown() = 0;
17 16
18 protected: 17 protected:
19 virtual ~PrintViewManagerObserver() {} 18 virtual ~PrintViewManagerObserver() {}
20 }; 19 };
21 20
22 } // namespace printing 21 } // namespace printing
23 22
24 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_OBSERVER_H_ 23 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_view_manager.h ('k') | chrome/browser/printing/printer_query.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698