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

Side by Side Diff: printing/printing_context_win.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | « printing/printing_context_mac.h ('k') | remoting/host/in_memory_host_config.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 PRINTING_PRINTING_CONTEXT_WIN_H_ 5 #ifndef PRINTING_PRINTING_CONTEXT_WIN_H_
6 #define PRINTING_PRINTING_CONTEXT_WIN_H_ 6 #define PRINTING_PRINTING_CONTEXT_WIN_H_
7 7
8 #include <ocidl.h> 8 #include <ocidl.h>
9 #include <commdlg.h> 9 #include <commdlg.h>
10 10
(...skipping 10 matching lines...) Expand all
21 public: 21 public:
22 explicit PrintingContextWin(const std::string& app_locale); 22 explicit PrintingContextWin(const std::string& app_locale);
23 ~PrintingContextWin(); 23 ~PrintingContextWin();
24 24
25 // PrintingContext implementation. 25 // PrintingContext implementation.
26 virtual void AskUserForSettings(gfx::NativeView parent_view, 26 virtual void AskUserForSettings(gfx::NativeView parent_view,
27 int max_pages, 27 int max_pages,
28 bool has_selection, 28 bool has_selection,
29 PrintSettingsCallback* callback); 29 PrintSettingsCallback* callback);
30 virtual Result UseDefaultSettings(); 30 virtual Result UseDefaultSettings();
31 virtual Result UpdatePrintSettings(const DictionaryValue& job_settings, 31 virtual Result UpdatePrintSettings(const base::DictionaryValue& job_settings,
32 const PageRanges& ranges); 32 const PageRanges& ranges);
33 virtual Result InitWithSettings(const PrintSettings& settings); 33 virtual Result InitWithSettings(const PrintSettings& settings);
34 virtual Result NewDocument(const string16& document_name); 34 virtual Result NewDocument(const string16& document_name);
35 virtual Result NewPage(); 35 virtual Result NewPage();
36 virtual Result PageDone(); 36 virtual Result PageDone();
37 virtual Result DocumentDone(); 37 virtual Result DocumentDone();
38 virtual void Cancel(); 38 virtual void Cancel();
39 virtual void ReleaseContext(); 39 virtual void ReleaseContext();
40 virtual gfx::NativeDrawingContext context() const; 40 virtual gfx::NativeDrawingContext context() const;
41 41
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // Function pointer that defaults to PrintDlgEx. It can be changed using 89 // Function pointer that defaults to PrintDlgEx. It can be changed using
90 // SetPrintDialog() in tests. 90 // SetPrintDialog() in tests.
91 HRESULT (__stdcall *print_dialog_func_)(LPPRINTDLGEX); 91 HRESULT (__stdcall *print_dialog_func_)(LPPRINTDLGEX);
92 92
93 DISALLOW_COPY_AND_ASSIGN(PrintingContextWin); 93 DISALLOW_COPY_AND_ASSIGN(PrintingContextWin);
94 }; 94 };
95 95
96 } // namespace printing 96 } // namespace printing
97 97
98 #endif // PRINTING_PRINTING_CONTEXT_WIN_H_ 98 #endif // PRINTING_PRINTING_CONTEXT_WIN_H_
OLDNEW
« no previous file with comments | « printing/printing_context_mac.h ('k') | remoting/host/in_memory_host_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698