OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 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_CAIRO_H_ | 5 #ifndef PRINTING_PRINTING_CONTEXT_CAIRO_H_ |
6 #define PRINTING_PRINTING_CONTEXT_CAIRO_H_ | 6 #define PRINTING_PRINTING_CONTEXT_CAIRO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "printing/printing_context.h" | 10 #include "printing/printing_context.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 int max_pages, | 21 int max_pages, |
22 bool has_selection, | 22 bool has_selection, |
23 PrintSettingsCallback* callback); | 23 PrintSettingsCallback* callback); |
24 virtual Result UseDefaultSettings(); | 24 virtual Result UseDefaultSettings(); |
25 virtual Result InitWithSettings(const PrintSettings& settings); | 25 virtual Result InitWithSettings(const PrintSettings& settings); |
26 virtual Result NewDocument(const string16& document_name); | 26 virtual Result NewDocument(const string16& document_name); |
27 virtual Result NewPage(); | 27 virtual Result NewPage(); |
28 virtual Result PageDone(); | 28 virtual Result PageDone(); |
29 virtual Result DocumentDone(); | 29 virtual Result DocumentDone(); |
30 virtual void Cancel(); | 30 virtual void Cancel(); |
31 virtual void DismissDialog(); | |
32 virtual void ReleaseContext(); | 31 virtual void ReleaseContext(); |
33 virtual gfx::NativeDrawingContext context() const; | 32 virtual gfx::NativeDrawingContext context() const; |
34 | 33 |
35 private: | 34 private: |
36 DISALLOW_COPY_AND_ASSIGN(PrintingContextCairo); | 35 DISALLOW_COPY_AND_ASSIGN(PrintingContextCairo); |
37 }; | 36 }; |
38 | 37 |
39 } // namespace printing | 38 } // namespace printing |
40 | 39 |
41 #endif // PRINTING_PRINTING_CONTEXT_CAIRO_H_ | 40 #endif // PRINTING_PRINTING_CONTEXT_CAIRO_H_ |
OLD | NEW |