| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 bool user_gesture, | 149 bool user_gesture, |
| 150 bool opener_suppressed, | 150 bool opener_suppressed, |
| 151 content::ResourceContext* context, | 151 content::ResourceContext* context, |
| 152 int render_process_id, | 152 int render_process_id, |
| 153 int opener_id, | 153 int opener_id, |
| 154 bool* no_javascript_access) OVERRIDE; | 154 bool* no_javascript_access) OVERRIDE; |
| 155 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 155 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
| 156 virtual net::NetLog* GetNetLog() OVERRIDE; | 156 virtual net::NetLog* GetNetLog() OVERRIDE; |
| 157 virtual content::AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 157 virtual content::AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
| 158 virtual bool IsFastShutdownPossible() OVERRIDE; | 158 virtual bool IsFastShutdownPossible() OVERRIDE; |
| 159 virtual void UpdateInspectorSetting(content::RenderViewHost* rvh, | |
| 160 const std::string& key, | |
| 161 const std::string& value) OVERRIDE; | |
| 162 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; | 159 virtual void ClearCache(content::RenderViewHost* rvh) OVERRIDE; |
| 163 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; | 160 virtual void ClearCookies(content::RenderViewHost* rvh) OVERRIDE; |
| 164 virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE; | 161 virtual base::FilePath GetDefaultDownloadDirectory() OVERRIDE; |
| 165 virtual std::string GetDefaultDownloadName() OVERRIDE; | 162 virtual std::string GetDefaultDownloadName() OVERRIDE; |
| 166 virtual void DidCreatePpapiPlugin( | 163 virtual void DidCreatePpapiPlugin( |
| 167 content::BrowserPpapiHost* browser_host) OVERRIDE; | 164 content::BrowserPpapiHost* browser_host) OVERRIDE; |
| 168 virtual bool AllowPepperSocketAPI( | 165 virtual bool AllowPepperSocketAPI( |
| 169 content::BrowserContext* browser_context, | 166 content::BrowserContext* browser_context, |
| 170 const GURL& url, | 167 const GURL& url, |
| 171 bool private_api, | 168 bool private_api, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 186 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; | 183 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; |
| 187 | 184 |
| 188 JniDependencyFactory* native_factory_; | 185 JniDependencyFactory* native_factory_; |
| 189 | 186 |
| 190 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 187 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
| 191 }; | 188 }; |
| 192 | 189 |
| 193 } // namespace android_webview | 190 } // namespace android_webview |
| 194 | 191 |
| 195 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 192 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |