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 content::DevToolsManagerDelegate* |
| 179 GetDevToolsManagerDelegate() OVERRIDE; |
178 | 180 |
179 private: | 181 private: |
180 // Android WebView currently has a single global (non-off-the-record) browser | 182 // Android WebView currently has a single global (non-off-the-record) browser |
181 // context. | 183 // context. |
182 scoped_ptr<AwBrowserContext> browser_context_; | 184 scoped_ptr<AwBrowserContext> browser_context_; |
183 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; | 185 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; |
184 | 186 |
185 JniDependencyFactory* native_factory_; | 187 JniDependencyFactory* native_factory_; |
186 | 188 |
187 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 189 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
188 }; | 190 }; |
189 | 191 |
190 } // namespace android_webview | 192 } // namespace android_webview |
191 | 193 |
192 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 194 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |