| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 "android_webview/native/aw_contents.h" | 5 #include "android_webview/native/aw_contents.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "android_webview/browser/aw_browser_context.h" | 9 #include "android_webview/browser/aw_browser_context.h" |
| 10 #include "android_webview/browser/aw_browser_main_parts.h" | 10 #include "android_webview/browser/aw_browser_main_parts.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 #include "content/public/browser/render_view_host.h" | 60 #include "content/public/browser/render_view_host.h" |
| 61 #include "content/public/browser/web_contents.h" | 61 #include "content/public/browser/web_contents.h" |
| 62 #include "content/public/common/renderer_preferences.h" | 62 #include "content/public/common/renderer_preferences.h" |
| 63 #include "content/public/common/ssl_status.h" | 63 #include "content/public/common/ssl_status.h" |
| 64 #include "jni/AwContents_jni.h" | 64 #include "jni/AwContents_jni.h" |
| 65 #include "net/base/auth.h" | 65 #include "net/base/auth.h" |
| 66 #include "net/cert/x509_certificate.h" | 66 #include "net/cert/x509_certificate.h" |
| 67 #include "third_party/skia/include/core/SkPicture.h" | 67 #include "third_party/skia/include/core/SkPicture.h" |
| 68 #include "ui/gfx/android/java_bitmap.h" | 68 #include "ui/gfx/android/java_bitmap.h" |
| 69 #include "ui/gfx/geometry/rect_f.h" | 69 #include "ui/gfx/geometry/rect_f.h" |
| 70 #include "ui/gfx/geometry/size.h" |
| 70 #include "ui/gfx/image/image.h" | 71 #include "ui/gfx/image/image.h" |
| 71 #include "ui/gfx/size.h" | |
| 72 | 72 |
| 73 struct AwDrawSWFunctionTable; | 73 struct AwDrawSWFunctionTable; |
| 74 | 74 |
| 75 using autofill::ContentAutofillDriverFactory; | 75 using autofill::ContentAutofillDriverFactory; |
| 76 using autofill::AutofillManager; | 76 using autofill::AutofillManager; |
| 77 using base::android::AttachCurrentThread; | 77 using base::android::AttachCurrentThread; |
| 78 using base::android::ConvertJavaStringToUTF16; | 78 using base::android::ConvertJavaStringToUTF16; |
| 79 using base::android::ConvertJavaStringToUTF8; | 79 using base::android::ConvertJavaStringToUTF8; |
| 80 using base::android::ConvertUTF16ToJavaString; | 80 using base::android::ConvertUTF16ToJavaString; |
| 81 using base::android::ConvertUTF8ToJavaString; | 81 using base::android::ConvertUTF8ToJavaString; |
| (...skipping 1043 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1125 base::Owned(port1), | 1125 base::Owned(port1), |
| 1126 base::Owned(port2))); | 1126 base::Owned(port2))); |
| 1127 } | 1127 } |
| 1128 | 1128 |
| 1129 | 1129 |
| 1130 void SetShouldDownloadFavicons(JNIEnv* env, jclass jclazz) { | 1130 void SetShouldDownloadFavicons(JNIEnv* env, jclass jclazz) { |
| 1131 g_should_download_favicons = true; | 1131 g_should_download_favicons = true; |
| 1132 } | 1132 } |
| 1133 | 1133 |
| 1134 } // namespace android_webview | 1134 } // namespace android_webview |
| OLD | NEW |