OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ | 5 #ifndef IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ |
6 #define IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ | 6 #define IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 NSString* GetRequestGroupID(); | 217 NSString* GetRequestGroupID(); |
218 | 218 |
219 // WebState: | 219 // WebState: |
220 WebStateDelegate* GetDelegate() override; | 220 WebStateDelegate* GetDelegate() override; |
221 void SetDelegate(WebStateDelegate* delegate) override; | 221 void SetDelegate(WebStateDelegate* delegate) override; |
222 bool IsWebUsageEnabled() const override; | 222 bool IsWebUsageEnabled() const override; |
223 void SetWebUsageEnabled(bool enabled) override; | 223 void SetWebUsageEnabled(bool enabled) override; |
224 UIView* GetView() override; | 224 UIView* GetView() override; |
225 BrowserState* GetBrowserState() const override; | 225 BrowserState* GetBrowserState() const override; |
226 void OpenURL(const WebState::OpenURLParams& params) override; | 226 void OpenURL(const WebState::OpenURLParams& params) override; |
| 227 const NavigationManager* GetNavigationManager() const override; |
227 NavigationManager* GetNavigationManager() override; | 228 NavigationManager* GetNavigationManager() override; |
228 CRWJSInjectionReceiver* GetJSInjectionReceiver() const override; | 229 CRWJSInjectionReceiver* GetJSInjectionReceiver() const override; |
229 void ExecuteJavaScript(const base::string16& javascript) override; | 230 void ExecuteJavaScript(const base::string16& javascript) override; |
230 void ExecuteJavaScript(const base::string16& javascript, | 231 void ExecuteJavaScript(const base::string16& javascript, |
231 const JavaScriptResultCallback& callback) override; | 232 const JavaScriptResultCallback& callback) override; |
232 const std::string& GetContentLanguageHeader() const override; | 233 const std::string& GetContentLanguageHeader() const override; |
233 const std::string& GetContentsMimeType() const override; | 234 const std::string& GetContentsMimeType() const override; |
234 bool ContentIsHTML() const override; | 235 bool ContentIsHTML() const override; |
235 const base::string16& GetTitle() const override; | 236 const base::string16& GetTitle() const override; |
236 bool IsLoading() const override; | 237 bool IsLoading() const override; |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 | 359 |
359 // Mojo interface registry for this WebState. | 360 // Mojo interface registry for this WebState. |
360 std::unique_ptr<shell::InterfaceRegistry> mojo_interface_registry_; | 361 std::unique_ptr<shell::InterfaceRegistry> mojo_interface_registry_; |
361 | 362 |
362 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); | 363 DISALLOW_COPY_AND_ASSIGN(WebStateImpl); |
363 }; | 364 }; |
364 | 365 |
365 } // namespace web | 366 } // namespace web |
366 | 367 |
367 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ | 368 #endif // IOS_WEB_WEB_STATE_WEB_STATE_IMPL_H_ |
OLD | NEW |