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