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

Side by Side Diff: printing/printing_context_android.cc

Issue 2400873002: keep only one typedef for the native drawing context (Closed)
Patch Set: native_drawing_context.h Created 4 years, 2 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
« no previous file with comments | « printing/printing_context_android.h ('k') | printing/printing_context_chromeos.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_android.h" 5 #include "printing/printing_context_android.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 void PrintingContextAndroid::Cancel() { 233 void PrintingContextAndroid::Cancel() {
234 abort_printing_ = true; 234 abort_printing_ = true;
235 in_print_job_ = false; 235 in_print_job_ = false;
236 } 236 }
237 237
238 void PrintingContextAndroid::ReleaseContext() { 238 void PrintingContextAndroid::ReleaseContext() {
239 // Intentional No-op. 239 // Intentional No-op.
240 } 240 }
241 241
242 gfx::NativeDrawingContext PrintingContextAndroid::context() const { 242 skia::NativeDrawingContext PrintingContextAndroid::context() const {
243 // Intentional No-op. 243 // Intentional No-op.
244 return nullptr; 244 return nullptr;
245 } 245 }
246 246
247 // static 247 // static
248 bool PrintingContextAndroid::RegisterPrintingContext(JNIEnv* env) { 248 bool PrintingContextAndroid::RegisterPrintingContext(JNIEnv* env) {
249 return RegisterNativesImpl(env); 249 return RegisterNativesImpl(env);
250 } 250 }
251 251
252 } // namespace printing 252 } // namespace printing
OLDNEW
« no previous file with comments | « printing/printing_context_android.h ('k') | printing/printing_context_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698