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 void PrintingContextAndroid::SetPostScriptEnabled(bool is_enabled) { |
| 243 // Intentional no-op |
| 244 } |
| 245 |
242 skia::NativeDrawingContext PrintingContextAndroid::context() const { | 246 skia::NativeDrawingContext PrintingContextAndroid::context() const { |
243 // Intentional No-op. | 247 // Intentional No-op. |
244 return nullptr; | 248 return nullptr; |
245 } | 249 } |
246 | 250 |
247 // static | 251 // static |
248 bool PrintingContextAndroid::RegisterPrintingContext(JNIEnv* env) { | 252 bool PrintingContextAndroid::RegisterPrintingContext(JNIEnv* env) { |
249 return RegisterNativesImpl(env); | 253 return RegisterNativesImpl(env); |
250 } | 254 } |
251 | 255 |
252 } // namespace printing | 256 } // namespace printing |
OLD | NEW |