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

Side by Side Diff: printing/printing_context_linux.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_linux.h" 5 #include "printing/printing_context_linux.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "printing/metafile.h" 10 #include "printing/metafile.h"
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 175
176 void PrintingContextLinux::Cancel() { 176 void PrintingContextLinux::Cancel() {
177 abort_printing_ = true; 177 abort_printing_ = true;
178 in_print_job_ = false; 178 in_print_job_ = false;
179 } 179 }
180 180
181 void PrintingContextLinux::ReleaseContext() { 181 void PrintingContextLinux::ReleaseContext() {
182 // Intentional No-op. 182 // Intentional No-op.
183 } 183 }
184 184
185 void PrintingContextLinux::SetPostScriptEnabled(bool is_enabled) {
186 // Intentional No-op.
187 }
188
185 skia::NativeDrawingContext PrintingContextLinux::context() const { 189 skia::NativeDrawingContext PrintingContextLinux::context() const {
186 // Intentional No-op. 190 // Intentional No-op.
187 return NULL; 191 return NULL;
188 } 192 }
189 193
190 } // namespace printing 194 } // namespace printing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698