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

Side by Side Diff: printing/print_dialog_gtk_interface.h

Issue 24989002: Cleanup: Use base namespace in printing/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 2 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 | « printing/backend/win_helper.cc ('k') | printing/print_settings.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 PRINTING_PRINT_DIALOG_GTK_INTERFACE_H_ 5 #ifndef PRINTING_PRINT_DIALOG_GTK_INTERFACE_H_
6 #define PRINTING_PRINT_DIALOG_GTK_INTERFACE_H_ 6 #define PRINTING_PRINT_DIALOG_GTK_INTERFACE_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "printing/printing_context_gtk.h" 9 #include "printing/printing_context_gtk.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 23 matching lines...) Expand all
34 // printing with the native print dialog. 34 // printing with the native print dialog.
35 virtual void ShowDialog( 35 virtual void ShowDialog(
36 gfx::NativeView parent_view, 36 gfx::NativeView parent_view,
37 bool has_selection, 37 bool has_selection,
38 const PrintingContextGtk::PrintSettingsCallback& callback) = 0; 38 const PrintingContextGtk::PrintSettingsCallback& callback) = 0;
39 39
40 // Prints the document named |document_name| contained in |metafile|. 40 // Prints the document named |document_name| contained in |metafile|.
41 // Called from the print worker thread. Once called, the 41 // Called from the print worker thread. Once called, the
42 // PrintDialogGtkInterface instance should not be reused. 42 // PrintDialogGtkInterface instance should not be reused.
43 virtual void PrintDocument(const Metafile* metafile, 43 virtual void PrintDocument(const Metafile* metafile,
44 const string16& document_name) = 0; 44 const base::string16& document_name) = 0;
45 45
46 // Same as AddRef/Release, but with different names since 46 // Same as AddRef/Release, but with different names since
47 // PrintDialogGtkInterface does not inherit from RefCounted. 47 // PrintDialogGtkInterface does not inherit from RefCounted.
48 virtual void AddRefToDialog() = 0; 48 virtual void AddRefToDialog() = 0;
49 virtual void ReleaseDialog() = 0; 49 virtual void ReleaseDialog() = 0;
50 50
51 protected: 51 protected:
52 virtual ~PrintDialogGtkInterface() {} 52 virtual ~PrintDialogGtkInterface() {}
53 }; 53 };
54 54
55 } // namespace printing 55 } // namespace printing
56 56
57 #endif // PRINTING_PRINT_DIALOG_GTK_INTERFACE_H_ 57 #endif // PRINTING_PRINT_DIALOG_GTK_INTERFACE_H_
OLDNEW
« no previous file with comments | « printing/backend/win_helper.cc ('k') | printing/print_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698