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

Side by Side Diff: printing/printing_context_no_system_dialog.h

Issue 2714073002: Eliminate PS printing edge cases (Closed)
Patch Set: Fix compile errors Created 3 years, 10 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
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_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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698