| 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 "base/android/jni_weak_ref.h" | 10 #include "base/android/jni_weak_ref.h" |
| 11 #include "base/android/scoped_java_ref.h" | 11 #include "base/android/scoped_java_ref.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "skia/ext/refptr.h" | |
| 14 | 13 |
| 15 namespace content { | 14 namespace content { |
| 16 class WebContents; | 15 class WebContents; |
| 17 }; | 16 }; |
| 18 | 17 |
| 19 namespace printing { | 18 namespace printing { |
| 20 class PrintSettings; | 19 class PrintSettings; |
| 21 }; | 20 }; |
| 22 | 21 |
| 23 namespace android_webview { | 22 namespace android_webview { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 45 content::WebContents* web_contents_; | 44 content::WebContents* web_contents_; |
| 46 | 45 |
| 47 DISALLOW_COPY_AND_ASSIGN(AwPdfExporter); | 46 DISALLOW_COPY_AND_ASSIGN(AwPdfExporter); |
| 48 }; | 47 }; |
| 49 | 48 |
| 50 bool RegisterAwPdfExporter(JNIEnv* env); | 49 bool RegisterAwPdfExporter(JNIEnv* env); |
| 51 | 50 |
| 52 } // namespace android_webview | 51 } // namespace android_webview |
| 53 | 52 |
| 54 #endif // ANDROID_WEBVIEW_NATIVE_AW_PDF_EXPORTER_H_ | 53 #endif // ANDROID_WEBVIEW_NATIVE_AW_PDF_EXPORTER_H_ |
| OLD | NEW |