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

Unified Diff: android_webview/lib/main/aw_main_delegate.h

Issue 12253057: Implement WebStorage API methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nits Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: android_webview/lib/main/aw_main_delegate.h
diff --git a/android_webview/lib/main/aw_main_delegate.h b/android_webview/lib/main/aw_main_delegate.h
index 92de20c47af31d72edca5c1dccd3d1b470f63d1b..81ebccf9e0f17c77afe144b2f943cdb15cf297ee 100644
--- a/android_webview/lib/main/aw_main_delegate.h
+++ b/android_webview/lib/main/aw_main_delegate.h
@@ -5,6 +5,7 @@
#ifndef ANDROID_WEBVIEW_LIB_MAIN_AW_MAIN_DELEGATE_H_
#define ANDROID_WEBVIEW_LIB_MAIN_AW_MAIN_DELEGATE_H_
+#include "android_webview/browser/jni_dependency_factory.h"
#include "android_webview/common/aw_content_client.h"
#include "base/memory/scoped_ptr.h"
#include "content/public/app/content_main_delegate.h"
@@ -19,7 +20,8 @@ class AwContentBrowserClient;
class AwContentRendererClient;
// Android WebView implementation of ContentMainDelegate.
-class AwMainDelegate : public content::ContentMainDelegate {
+class AwMainDelegate : public content::ContentMainDelegate,
+ public JniDependencyFactory {
public:
AwMainDelegate();
virtual ~AwMainDelegate();
@@ -37,6 +39,14 @@ class AwMainDelegate : public content::ContentMainDelegate {
virtual content::ContentRendererClient*
CreateContentRendererClient() OVERRIDE;
+ // JniDependencyFactory implementation.
+ virtual AwQuotaManagerBridge* CreateAwQuotaManagerBridge(
+ AwBrowserContext* browser_context) OVERRIDE;
+ virtual content::GeolocationPermissionContext* CreateGeolocationPermission(
+ AwBrowserContext* browser_context) OVERRIDE;
+ virtual content::WebContentsViewDelegate* CreateViewDelegate(
+ content::WebContents* web_contents) OVERRIDE;
+
scoped_ptr<content::BrowserMainRunner> browser_runner_;
AwContentClient content_client_;
scoped_ptr<AwContentBrowserClient> content_browser_client_;
« no previous file with comments | « android_webview/lib/aw_browser_dependency_factory_impl.cc ('k') | android_webview/lib/main/aw_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698