| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 void GetAdditionalMappedFilesForChildProcess( | 129 void GetAdditionalMappedFilesForChildProcess( |
| 130 const base::CommandLine& command_line, | 130 const base::CommandLine& command_line, |
| 131 int child_process_id, | 131 int child_process_id, |
| 132 content::FileDescriptorInfo* mappings, | 132 content::FileDescriptorInfo* mappings, |
| 133 std::map<int, base::MemoryMappedFile::Region>* regions) override; | 133 std::map<int, base::MemoryMappedFile::Region>* regions) override; |
| 134 void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 134 void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
| 135 content::WebPreferences* web_prefs) override; | 135 content::WebPreferences* web_prefs) override; |
| 136 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( | 136 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( |
| 137 content::NavigationHandle* navigation_handle) override; | 137 content::NavigationHandle* navigation_handle) override; |
| 138 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; | 138 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; |
| 139 void RegisterRenderFrameMojoInterfaces( |
| 140 service_manager::InterfaceRegistry* registry, |
| 141 content::RenderFrameHost* render_frame_host) override; |
| 139 | 142 |
| 140 private: | 143 private: |
| 141 // Android WebView currently has a single global (non-off-the-record) browser | 144 // Android WebView currently has a single global (non-off-the-record) browser |
| 142 // context. | 145 // context. |
| 143 std::unique_ptr<AwBrowserContext> browser_context_; | 146 std::unique_ptr<AwBrowserContext> browser_context_; |
| 144 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; | 147 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; |
| 145 | 148 |
| 146 JniDependencyFactory* native_factory_; | 149 JniDependencyFactory* native_factory_; |
| 147 | 150 |
| 148 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 151 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
| 149 }; | 152 }; |
| 150 | 153 |
| 151 } // namespace android_webview | 154 } // namespace android_webview |
| 152 | 155 |
| 153 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 156 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |