OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_SETTINGS_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_SETTINGS_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_AW_SETTINGS_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_AW_SETTINGS_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "base/android/jni_helper.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/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "content/public/browser/web_contents_observer.h" | 13 #include "content/public/browser/web_contents_observer.h" |
14 | 14 |
15 struct WebPreferences; | 15 struct WebPreferences; |
16 | 16 |
17 namespace android_webview { | 17 namespace android_webview { |
18 | 18 |
19 class AwRenderViewHostExt; | 19 class AwRenderViewHostExt; |
20 | 20 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 bool accelerated_2d_canvas_disabled_by_switch_; | 54 bool accelerated_2d_canvas_disabled_by_switch_; |
55 | 55 |
56 JavaObjectWeakGlobalRef aw_settings_; | 56 JavaObjectWeakGlobalRef aw_settings_; |
57 }; | 57 }; |
58 | 58 |
59 bool RegisterAwSettings(JNIEnv* env); | 59 bool RegisterAwSettings(JNIEnv* env); |
60 | 60 |
61 } // namespace android_webview | 61 } // namespace android_webview |
62 | 62 |
63 #endif // ANDROID_WEBVIEW_NATIVE_AW_SETTINGS_H_ | 63 #endif // ANDROID_WEBVIEW_NATIVE_AW_SETTINGS_H_ |
OLD | NEW |