OLD | NEW |
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 Loading... |
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 |
OLD | NEW |