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

Side by Side Diff: printing/printing_context_cairo.h

Issue 3610013: Printing: Convert PrintingContext into an interface implemented by the separate (Closed)
Patch Set: Comment cleanup only. Created 10 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
« no previous file with comments | « printing/printing_context.cc ('k') | printing/printing_context_cairo.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 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 PRINTING_PRINTING_CONTEXT_CAIRO_H_
6 #define PRINTING_PRINTING_CONTEXT_CAIRO_H_
7
8 #include "printing/printing_context.h"
9
10 namespace printing {
11
12 class PrintingContextCairo : public PrintingContext {
13 public:
14 PrintingContextCairo();
15 ~PrintingContextCairo();
16
17 // PrintingContext implementation.
18 virtual void AskUserForSettings(gfx::NativeView parent_view,
19 int max_pages,
20 bool has_selection,
21 PrintSettingsCallback* callback);
22 virtual Result UseDefaultSettings();
23 virtual Result InitWithSettings(const PrintSettings& settings);
24 virtual Result NewDocument(const string16& document_name);
25 virtual Result NewPage();
26 virtual Result PageDone();
27 virtual Result DocumentDone();
28 virtual void Cancel();
29 virtual void DismissDialog();
30 virtual void ReleaseContext();
31 virtual gfx::NativeDrawingContext context() const;
32
33 private:
34 DISALLOW_COPY_AND_ASSIGN(PrintingContextCairo);
35 };
36
37 } // namespace printing
38
39 #endif // PRINTING_PRINTING_CONTEXT_CAIRO_H_
OLDNEW
« no previous file with comments | « printing/printing_context.cc ('k') | printing/printing_context_cairo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698