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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 bool private_api, | 168 bool private_api, |
169 const content::SocketPermissionRequest* params) OVERRIDE; | 169 const content::SocketPermissionRequest* params) OVERRIDE; |
170 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 170 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
171 const GURL& url, | 171 const GURL& url, |
172 content::WebPreferences* web_prefs) OVERRIDE; | 172 content::WebPreferences* web_prefs) OVERRIDE; |
173 #if defined(VIDEO_HOLE) | 173 #if defined(VIDEO_HOLE) |
174 virtual content::ExternalVideoSurfaceContainer* | 174 virtual content::ExternalVideoSurfaceContainer* |
175 OverrideCreateExternalVideoSurfaceContainer( | 175 OverrideCreateExternalVideoSurfaceContainer( |
176 content::WebContents* web_contents) OVERRIDE; | 176 content::WebContents* web_contents) OVERRIDE; |
177 #endif | 177 #endif |
| 178 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate() OVERRIDE; |
178 | 179 |
179 private: | 180 private: |
180 // Android WebView currently has a single global (non-off-the-record) browser | 181 // Android WebView currently has a single global (non-off-the-record) browser |
181 // context. | 182 // context. |
182 scoped_ptr<AwBrowserContext> browser_context_; | 183 scoped_ptr<AwBrowserContext> browser_context_; |
183 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; | 184 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; |
184 | 185 |
185 JniDependencyFactory* native_factory_; | 186 JniDependencyFactory* native_factory_; |
186 | 187 |
187 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 188 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
188 }; | 189 }; |
189 | 190 |
190 } // namespace android_webview | 191 } // namespace android_webview |
191 | 192 |
192 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 193 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |