Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Side by Side Diff: android_webview/native/aw_settings.cc

Issue 2209993003: Add missing using statements for JNI types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include "android_webview/native/aw_settings.h" 5 #include "android_webview/native/aw_settings.h"
6 6
7 #include "android_webview/browser/aw_content_browser_client.h" 7 #include "android_webview/browser/aw_content_browser_client.h"
8 #include "android_webview/browser/renderer_host/aw_render_view_host_ext.h" 8 #include "android_webview/browser/renderer_host/aw_render_view_host_ext.h"
9 #include "android_webview/common/aw_content_client.h" 9 #include "android_webview/common/aw_content_client.h"
10 #include "android_webview/native/aw_contents.h" 10 #include "android_webview/native/aw_contents.h"
11 #include "base/android/jni_android.h" 11 #include "base/android/jni_android.h"
12 #include "base/android/jni_string.h" 12 #include "base/android/jni_string.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/supports_user_data.h" 14 #include "base/supports_user_data.h"
15 #include "content/public/browser/navigation_controller.h" 15 #include "content/public/browser/navigation_controller.h"
16 #include "content/public/browser/navigation_entry.h" 16 #include "content/public/browser/navigation_entry.h"
17 #include "content/public/browser/render_view_host.h" 17 #include "content/public/browser/render_view_host.h"
18 #include "content/public/browser/web_contents.h" 18 #include "content/public/browser/web_contents.h"
19 #include "content/public/common/renderer_preferences.h" 19 #include "content/public/common/renderer_preferences.h"
20 #include "content/public/common/web_preferences.h" 20 #include "content/public/common/web_preferences.h"
21 #include "jni/AwSettings_jni.h" 21 #include "jni/AwSettings_jni.h"
22 #include "ui/gfx/font_render_params.h" 22 #include "ui/gfx/font_render_params.h"
23 23
24 using base::android::ConvertJavaStringToUTF16; 24 using base::android::ConvertJavaStringToUTF16;
25 using base::android::ConvertUTF8ToJavaString; 25 using base::android::ConvertUTF8ToJavaString;
26 using base::android::JavaParamRef;
26 using base::android::ScopedJavaLocalRef; 27 using base::android::ScopedJavaLocalRef;
27 using content::RendererPreferences; 28 using content::RendererPreferences;
28 using content::WebPreferences; 29 using content::WebPreferences;
29 30
30 namespace android_webview { 31 namespace android_webview {
31 32
32 namespace { 33 namespace {
33 34
34 void PopulateFixedRendererPreferences(RendererPreferences* prefs) { 35 void PopulateFixedRendererPreferences(RendererPreferences* prefs) {
35 prefs->tap_multiple_targets_strategy = 36 prefs->tap_multiple_targets_strategy =
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 JNIEnv* env, 458 JNIEnv* env,
458 const JavaParamRef<jclass>& clazz) { 459 const JavaParamRef<jclass>& clazz) {
459 return base::android::ConvertUTF8ToJavaString(env, GetUserAgent()); 460 return base::android::ConvertUTF8ToJavaString(env, GetUserAgent());
460 } 461 }
461 462
462 bool RegisterAwSettings(JNIEnv* env) { 463 bool RegisterAwSettings(JNIEnv* env) {
463 return RegisterNativesImpl(env); 464 return RegisterNativesImpl(env);
464 } 465 }
465 466
466 } // namespace android_webview 467 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/native/aw_resource.cc ('k') | android_webview/native/aw_web_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698