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

Side by Side Diff: android_webview/browser/jni_dependency_factory.h

Issue 23619089: [Android WebView] Populate WebKit WebPreferences correctly in browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 2 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 #ifndef ANDROID_WEBVIEW_BROWSER_JNI_DEPENDENCY_FACTORY_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_JNI_DEPENDENCY_FACTORY_H_
6 #define ANDROID_WEBVIEW_BROWSER_JNI_DEPENDENCY_FACTORY_H_ 6 #define ANDROID_WEBVIEW_BROWSER_JNI_DEPENDENCY_FACTORY_H_
7 7
8 namespace content { 8 namespace content {
9 class GeolocationPermissionContext; 9 class GeolocationPermissionContext;
10 class WebContents; 10 class WebContents;
11 class WebContentsViewDelegate; 11 class WebContentsViewDelegate;
12 } // namespace content 12 } // namespace content
13 13
14 namespace android_webview { 14 namespace android_webview {
15 15
16 class AwBrowserContext; 16 class AwBrowserContext;
17 class AwQuotaManagerBridge; 17 class AwQuotaManagerBridge;
18 class AwWebPreferencesPopulater;
18 19
19 // Used to create instances of objects under native that are used in browser. 20 // Used to create instances of objects under native that are used in browser.
20 class JniDependencyFactory { 21 class JniDependencyFactory {
21 public: 22 public:
22 virtual ~JniDependencyFactory() {} 23 virtual ~JniDependencyFactory() {}
23 24
24 virtual AwQuotaManagerBridge* CreateAwQuotaManagerBridge( 25 virtual AwQuotaManagerBridge* CreateAwQuotaManagerBridge(
25 AwBrowserContext* browser_context) = 0; 26 AwBrowserContext* browser_context) = 0;
26 virtual content::GeolocationPermissionContext* CreateGeolocationPermission( 27 virtual content::GeolocationPermissionContext* CreateGeolocationPermission(
27 AwBrowserContext* browser_context) = 0; 28 AwBrowserContext* browser_context) = 0;
28 virtual content::WebContentsViewDelegate* CreateViewDelegate( 29 virtual content::WebContentsViewDelegate* CreateViewDelegate(
29 content::WebContents* web_contents) = 0; 30 content::WebContents* web_contents) = 0;
31 virtual AwWebPreferencesPopulater* CreateWebPreferencesPopulater() = 0;
30 }; 32 };
31 33
32 } // namespace android_webview 34 } // namespace android_webview
33 35
34 #endif // ANDROID_WEBVIEW_BROWSER_JNI_DEPENDENCY_FACTORY_H_ 36 #endif // ANDROID_WEBVIEW_BROWSER_JNI_DEPENDENCY_FACTORY_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_web_preferences_populater.cc ('k') | android_webview/lib/main/aw_main_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698