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 #ifndef ANDROID_WEBVIEW_NATIVE_AW_PDF_EXPORTER_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_PDF_EXPORTER_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_AW_PDF_EXPORTER_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_AW_PDF_EXPORTER_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "android_webview/browser/renderer_host/print_manager.h" | 10 #include "android_webview/browser/renderer_host/print_manager.h" |
11 #include "base/android/jni_helper.h" | 11 #include "base/android/jni_weak_ref.h" |
12 #include "base/android/scoped_java_ref.h" | 12 #include "base/android/scoped_java_ref.h" |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "skia/ext/refptr.h" | 15 #include "skia/ext/refptr.h" |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 class WebContents; | 18 class WebContents; |
19 }; | 19 }; |
20 | 20 |
21 namespace printing { | 21 namespace printing { |
(...skipping 29 matching lines...) Expand all Loading... |
51 scoped_ptr<printing::PrintSettings> print_settings_; | 51 scoped_ptr<printing::PrintSettings> print_settings_; |
52 | 52 |
53 DISALLOW_COPY_AND_ASSIGN(AwPdfExporter); | 53 DISALLOW_COPY_AND_ASSIGN(AwPdfExporter); |
54 }; | 54 }; |
55 | 55 |
56 bool RegisterAwPdfExporter(JNIEnv* env); | 56 bool RegisterAwPdfExporter(JNIEnv* env); |
57 | 57 |
58 } // namespace android_webview | 58 } // namespace android_webview |
59 | 59 |
60 #endif // ANDROID_WEBVIEW_NATIVE_AW_PDF_EXPORTER_H_ | 60 #endif // ANDROID_WEBVIEW_NATIVE_AW_PDF_EXPORTER_H_ |
OLD | NEW |