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

Unified Diff: android_webview/browser/aw_content_browser_client.h

Issue 12253057: Implement WebStorage API methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/browser/aw_content_browser_client.h
diff --git a/android_webview/browser/aw_content_browser_client.h b/android_webview/browser/aw_content_browser_client.h
index 9ff4f6ca8b50521f6fa6ae19d8775f553d95a526..44ca941b127480db82fff870aa27540304311a6c 100644
--- a/android_webview/browser/aw_content_browser_client.h
+++ b/android_webview/browser/aw_content_browser_client.h
@@ -5,7 +5,6 @@
#ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
#define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_
-#include "android_webview/browser/aw_browser_context.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
@@ -14,14 +13,15 @@
namespace android_webview {
+class AwBrowserContext;
+class NativeFactory;
+
class AwContentBrowserClient : public content::ContentBrowserClient {
public:
- typedef content::WebContentsViewDelegate* ViewDelegateFactoryFn(
- content::WebContents* web_contents);
+ static AwContentBrowserClient* FromContentBrowserClient(
+ content::ContentBrowserClient* client);
- AwContentBrowserClient(
- ViewDelegateFactoryFn* view_delegate_factory,
- GeolocationPermissionFactoryFn* geolocation_permission_factory);
+ AwContentBrowserClient(NativeFactory* native_factory);
virtual ~AwContentBrowserClient();
AwBrowserContext* GetAwBrowserContext();
@@ -164,7 +164,7 @@ class AwContentBrowserClient : public content::ContentBrowserClient {
// context.
scoped_ptr<AwBrowserContext> browser_context_;
- ViewDelegateFactoryFn* view_delegate_factory_;
+ NativeFactory* native_factory_;
DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient);
};

Powered by Google App Engine
This is Rietveld 408576698