OLD | NEW |
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_NO_SYSTEM_DIALOG_H_ | 5 #ifndef PRINTING_PRINTING_CONTEXT_NO_SYSTEM_DIALOG_H_ |
6 #define PRINTING_PRINTING_CONTEXT_NO_SYSTEM_DIALOG_H_ | 6 #define PRINTING_PRINTING_CONTEXT_NO_SYSTEM_DIALOG_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 gfx::Size GetPdfPaperSizeDeviceUnits() override; | 26 gfx::Size GetPdfPaperSizeDeviceUnits() override; |
27 Result UpdatePrinterSettings(bool external_preview, | 27 Result UpdatePrinterSettings(bool external_preview, |
28 bool show_system_dialog, | 28 bool show_system_dialog, |
29 int page_count) override; | 29 int page_count) override; |
30 Result NewDocument(const base::string16& document_name) override; | 30 Result NewDocument(const base::string16& document_name) override; |
31 Result NewPage() override; | 31 Result NewPage() override; |
32 Result PageDone() override; | 32 Result PageDone() override; |
33 Result DocumentDone() override; | 33 Result DocumentDone() override; |
34 void Cancel() override; | 34 void Cancel() override; |
35 void ReleaseContext() override; | 35 void ReleaseContext() override; |
| 36 void SetPostScriptEnabled(bool is_enabled) override; |
36 skia::NativeDrawingContext context() const override; | 37 skia::NativeDrawingContext context() const override; |
37 | 38 |
38 private: | 39 private: |
39 DISALLOW_COPY_AND_ASSIGN(PrintingContextNoSystemDialog); | 40 DISALLOW_COPY_AND_ASSIGN(PrintingContextNoSystemDialog); |
40 }; | 41 }; |
41 | 42 |
42 } // namespace printing | 43 } // namespace printing |
43 | 44 |
44 #endif // PRINTING_PRINTING_CONTEXT_NO_SYSTEM_DIALOG_H_ | 45 #endif // PRINTING_PRINTING_CONTEXT_NO_SYSTEM_DIALOG_H_ |
OLD | NEW |