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

Side by Side Diff: printing/printing_context_no_system_dialog.cc

Issue 2714073002: Eliminate PS printing edge cases (Closed)
Patch Set: Fix compile errors Created 3 years, 9 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 #include "printing/printing_context_no_system_dialog.h" 5 #include "printing/printing_context_no_system_dialog.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <unicode/ulocdata.h> 8 #include <unicode/ulocdata.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 void PrintingContextNoSystemDialog::Cancel() { 132 void PrintingContextNoSystemDialog::Cancel() {
133 abort_printing_ = true; 133 abort_printing_ = true;
134 in_print_job_ = false; 134 in_print_job_ = false;
135 } 135 }
136 136
137 void PrintingContextNoSystemDialog::ReleaseContext() { 137 void PrintingContextNoSystemDialog::ReleaseContext() {
138 // Intentional No-op. 138 // Intentional No-op.
139 } 139 }
140 140
141 void PrintingContextNoSystemDialog::SetPostScriptEnabled(bool is_enabled) {
142 // Intentional No-op.
143 }
144
141 skia::NativeDrawingContext PrintingContextNoSystemDialog::context() const { 145 skia::NativeDrawingContext PrintingContextNoSystemDialog::context() const {
142 // Intentional No-op. 146 // Intentional No-op.
143 return nullptr; 147 return nullptr;
144 } 148 }
145 149
146 } // namespace printing 150 } // namespace printing
147 151
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698