| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 const GURL& url, | 133 const GURL& url, |
| 134 bool private_api, | 134 bool private_api, |
| 135 const content::SocketPermissionRequest* params) override; | 135 const content::SocketPermissionRequest* params) override; |
| 136 void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 136 void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
| 137 content::WebPreferences* web_prefs) override; | 137 content::WebPreferences* web_prefs) override; |
| 138 #if defined(VIDEO_HOLE) | 138 #if defined(VIDEO_HOLE) |
| 139 content::ExternalVideoSurfaceContainer* | 139 content::ExternalVideoSurfaceContainer* |
| 140 OverrideCreateExternalVideoSurfaceContainer( | 140 OverrideCreateExternalVideoSurfaceContainer( |
| 141 content::WebContents* web_contents) override; | 141 content::WebContents* web_contents) override; |
| 142 #endif | 142 #endif |
| 143 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; | |
| 144 | 143 |
| 145 private: | 144 private: |
| 146 // Android WebView currently has a single global (non-off-the-record) browser | 145 // Android WebView currently has a single global (non-off-the-record) browser |
| 147 // context. | 146 // context. |
| 148 scoped_ptr<AwBrowserContext> browser_context_; | 147 scoped_ptr<AwBrowserContext> browser_context_; |
| 149 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; | 148 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; |
| 150 | 149 |
| 151 JniDependencyFactory* native_factory_; | 150 JniDependencyFactory* native_factory_; |
| 152 | 151 |
| 153 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 152 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
| 154 }; | 153 }; |
| 155 | 154 |
| 156 } // namespace android_webview | 155 } // namespace android_webview |
| 157 | 156 |
| 158 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 157 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |