| 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" |
| 11 #include "printing/printing_context.h" | 11 #include "printing/printing_context.h" |
| 12 | 12 |
| 13 namespace base { | |
| 14 class DictionaryValue; | |
| 15 } | |
| 16 | |
| 17 namespace printing { | 13 namespace printing { |
| 18 | 14 |
| 19 class PRINTING_EXPORT PrintingContextNoSystemDialog : public PrintingContext { | 15 class PRINTING_EXPORT PrintingContextNoSystemDialog : public PrintingContext { |
| 20 public: | 16 public: |
| 21 explicit PrintingContextNoSystemDialog(Delegate* delegate); | 17 explicit PrintingContextNoSystemDialog(Delegate* delegate); |
| 22 ~PrintingContextNoSystemDialog() override; | 18 ~PrintingContextNoSystemDialog() override; |
| 23 | 19 |
| 24 // PrintingContext implementation. | 20 // PrintingContext implementation. |
| 25 void AskUserForSettings(int max_pages, | 21 void AskUserForSettings(int max_pages, |
| 26 bool has_selection, | 22 bool has_selection, |
| (...skipping 12 matching lines...) Expand all Loading... |
| 39 void ReleaseContext() override; | 35 void ReleaseContext() override; |
| 40 skia::NativeDrawingContext context() const override; | 36 skia::NativeDrawingContext context() const override; |
| 41 | 37 |
| 42 private: | 38 private: |
| 43 DISALLOW_COPY_AND_ASSIGN(PrintingContextNoSystemDialog); | 39 DISALLOW_COPY_AND_ASSIGN(PrintingContextNoSystemDialog); |
| 44 }; | 40 }; |
| 45 | 41 |
| 46 } // namespace printing | 42 } // namespace printing |
| 47 | 43 |
| 48 #endif // PRINTING_PRINTING_CONTEXT_NO_SYSTEM_DIALOG_H_ | 44 #endif // PRINTING_PRINTING_CONTEXT_NO_SYSTEM_DIALOG_H_ |
| OLD | NEW |