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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 int child_process_id, | 124 int child_process_id, |
125 content::FileDescriptorInfo* mappings) override; | 125 content::FileDescriptorInfo* mappings) override; |
126 void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 126 void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
127 content::WebPreferences* web_prefs) override; | 127 content::WebPreferences* web_prefs) override; |
128 std::vector<std::unique_ptr<content::NavigationThrottle>> | 128 std::vector<std::unique_ptr<content::NavigationThrottle>> |
129 CreateThrottlesForNavigation( | 129 CreateThrottlesForNavigation( |
130 content::NavigationHandle* navigation_handle) override; | 130 content::NavigationHandle* navigation_handle) override; |
131 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; | 131 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; |
132 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 132 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
133 base::StringPiece name) override; | 133 base::StringPiece name) override; |
134 void RegisterRenderFrameMojoInterfaces( | 134 void ExposeInterfacesToFrame( |
135 service_manager::InterfaceRegistry* registry, | 135 service_manager::BinderRegistry* registry, |
136 content::RenderFrameHost* render_frame_host) override; | 136 content::RenderFrameHost* render_frame_host) override; |
137 | 137 |
138 private: | 138 private: |
139 // Android WebView currently has a single global (non-off-the-record) browser | 139 // Android WebView currently has a single global (non-off-the-record) browser |
140 // context. | 140 // context. |
141 std::unique_ptr<AwBrowserContext> browser_context_; | 141 std::unique_ptr<AwBrowserContext> browser_context_; |
142 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; | 142 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; |
143 | 143 |
144 JniDependencyFactory* native_factory_; | 144 JniDependencyFactory* native_factory_; |
145 | 145 |
146 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 146 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
147 }; | 147 }; |
148 | 148 |
149 } // namespace android_webview | 149 } // namespace android_webview |
150 | 150 |
151 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 151 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |