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

Side by Side Diff: printing/printing_context_mac.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_cairo.h ('k') | printing/printing_context_win.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_MAC_H_ 5 #ifndef PRINTING_PRINTING_CONTEXT_MAC_H_
6 #define PRINTING_PRINTING_CONTEXT_MAC_H_ 6 #define PRINTING_PRINTING_CONTEXT_MAC_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_nsobject.h" 10 #include "base/memory/scoped_nsobject.h"
(...skipping 12 matching lines...) Expand all
23 public: 23 public:
24 explicit PrintingContextMac(const std::string& app_locale); 24 explicit PrintingContextMac(const std::string& app_locale);
25 virtual ~PrintingContextMac(); 25 virtual ~PrintingContextMac();
26 26
27 // PrintingContext implementation. 27 // PrintingContext implementation.
28 virtual void AskUserForSettings(gfx::NativeView parent_view, 28 virtual void AskUserForSettings(gfx::NativeView parent_view,
29 int max_pages, 29 int max_pages,
30 bool has_selection, 30 bool has_selection,
31 PrintSettingsCallback* callback); 31 PrintSettingsCallback* callback);
32 virtual Result UseDefaultSettings(); 32 virtual Result UseDefaultSettings();
33 virtual Result UpdatePrintSettings(const DictionaryValue& job_settings, 33 virtual Result UpdatePrintSettings(const base::DictionaryValue& job_settings,
34 const PageRanges& ranges); 34 const PageRanges& ranges);
35 virtual Result InitWithSettings(const PrintSettings& settings); 35 virtual Result InitWithSettings(const PrintSettings& settings);
36 virtual Result NewDocument(const string16& document_name); 36 virtual Result NewDocument(const string16& document_name);
37 virtual Result NewPage(); 37 virtual Result NewPage();
38 virtual Result PageDone(); 38 virtual Result PageDone();
39 virtual Result DocumentDone(); 39 virtual Result DocumentDone();
40 virtual void Cancel(); 40 virtual void Cancel();
41 virtual void ReleaseContext(); 41 virtual void ReleaseContext();
42 virtual gfx::NativeDrawingContext context() const; 42 virtual gfx::NativeDrawingContext context() const;
43 43
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // The current page's context; only valid between NewPage and PageDone call 82 // The current page's context; only valid between NewPage and PageDone call
83 // pairs. 83 // pairs.
84 CGContext* context_; 84 CGContext* context_;
85 85
86 DISALLOW_COPY_AND_ASSIGN(PrintingContextMac); 86 DISALLOW_COPY_AND_ASSIGN(PrintingContextMac);
87 }; 87 };
88 88
89 } // namespace printing 89 } // namespace printing
90 90
91 #endif // PRINTING_PRINTING_CONTEXT_MAC_H_ 91 #endif // PRINTING_PRINTING_CONTEXT_MAC_H_
OLDNEW
« no previous file with comments | « printing/printing_context_cairo.h ('k') | printing/printing_context_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698