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 const base::CommandLine& command_line, | 124 const base::CommandLine& command_line, |
125 int child_process_id, | 125 int child_process_id, |
126 content::FileDescriptorInfo* mappings, | 126 content::FileDescriptorInfo* mappings, |
127 std::map<int, base::MemoryMappedFile::Region>* regions) override; | 127 std::map<int, base::MemoryMappedFile::Region>* regions) override; |
128 void OverrideWebkitPrefs(content::RenderViewHost* rvh, | 128 void OverrideWebkitPrefs(content::RenderViewHost* rvh, |
129 content::WebPreferences* web_prefs) override; | 129 content::WebPreferences* web_prefs) override; |
130 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( | 130 ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation( |
131 content::NavigationHandle* navigation_handle) override; | 131 content::NavigationHandle* navigation_handle) override; |
132 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; | 132 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; |
133 | 133 |
| 134 // TODO |
| 135 // void GetTemporaryStorageConfiguration( |
| 136 // content::BrowserContext* context, |
| 137 // const base::FilePath& partition_path, bool is_incognito, |
| 138 // const storage::TemporaryStorageConfigurationCallback& callback)override; |
| 139 |
134 private: | 140 private: |
135 // Android WebView currently has a single global (non-off-the-record) browser | 141 // Android WebView currently has a single global (non-off-the-record) browser |
136 // context. | 142 // context. |
137 std::unique_ptr<AwBrowserContext> browser_context_; | 143 std::unique_ptr<AwBrowserContext> browser_context_; |
138 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; | 144 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; |
139 | 145 |
140 JniDependencyFactory* native_factory_; | 146 JniDependencyFactory* native_factory_; |
141 | 147 |
142 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 148 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
143 }; | 149 }; |
144 | 150 |
145 } // namespace android_webview | 151 } // namespace android_webview |
146 | 152 |
147 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 153 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |