| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "android_webview/browser/aw_web_preferences_populater.h" | 8 #include "android_webview/browser/aw_web_preferences_populater.h" |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 bool user_gesture, | 127 bool user_gesture, |
| 128 bool opener_suppressed, | 128 bool opener_suppressed, |
| 129 content::ResourceContext* context, | 129 content::ResourceContext* context, |
| 130 int render_process_id, | 130 int render_process_id, |
| 131 int opener_id, | 131 int opener_id, |
| 132 bool* no_javascript_access) override; | 132 bool* no_javascript_access) override; |
| 133 void ResourceDispatcherHostCreated() override; | 133 void ResourceDispatcherHostCreated() override; |
| 134 net::NetLog* GetNetLog() override; | 134 net::NetLog* GetNetLog() override; |
| 135 content::AccessTokenStore* CreateAccessTokenStore() override; | 135 content::AccessTokenStore* CreateAccessTokenStore() override; |
| 136 bool IsFastShutdownPossible() override; | 136 bool IsFastShutdownPossible() override; |
| 137 void ClearCache(content::RenderViewHost* rvh) override; | 137 void ClearCache(content::RenderFrameHost* rfh) override; |
| 138 void ClearCookies(content::RenderViewHost* rvh) override; | 138 void ClearCookies(content::RenderFrameHost* rfh) override; |
| 139 base::FilePath GetDefaultDownloadDirectory() override; | 139 base::FilePath GetDefaultDownloadDirectory() override; |
| 140 std::string GetDefaultDownloadName() override; | 140 std::string GetDefaultDownloadName() override; |
| 141 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; | 141 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; |
| 142 bool AllowPepperSocketAPI( | 142 bool AllowPepperSocketAPI( |
| 143 content::BrowserContext* browser_context, | 143 content::BrowserContext* browser_context, |
| 144 const GURL& url, | 144 const GURL& url, |
| 145 bool private_api, | 145 bool private_api, |
| 146 const content::SocketPermissionRequest* params) override; | 146 const content::SocketPermissionRequest* params) override; |
| 147 void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 147 void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
| 148 content::WebPreferences* web_prefs) override; | 148 content::WebPreferences* web_prefs) override; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 160 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; | 160 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; |
| 161 | 161 |
| 162 JniDependencyFactory* native_factory_; | 162 JniDependencyFactory* native_factory_; |
| 163 | 163 |
| 164 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 164 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
| 165 }; | 165 }; |
| 166 | 166 |
| 167 } // namespace android_webview | 167 } // namespace android_webview |
| 168 | 168 |
| 169 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 169 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |