Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(959)

Side by Side Diff: ios/web/public/test/test_web_state.h

Issue 2046063005: Added const getter for WebState's NavigationManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ios/web/public/test/test_web_state.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PUBLIC_TEST_TEST_WEB_STATE_H_ 5 #ifndef IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_
6 #define IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_ 6 #define IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 12 matching lines...) Expand all
23 ~TestWebState() override; 23 ~TestWebState() override;
24 24
25 // WebState implementation. 25 // WebState implementation.
26 WebStateDelegate* GetDelegate() override; 26 WebStateDelegate* GetDelegate() override;
27 void SetDelegate(WebStateDelegate* delegate) override; 27 void SetDelegate(WebStateDelegate* delegate) override;
28 bool IsWebUsageEnabled() const override; 28 bool IsWebUsageEnabled() const override;
29 void SetWebUsageEnabled(bool enabled) override; 29 void SetWebUsageEnabled(bool enabled) override;
30 UIView* GetView() override; 30 UIView* GetView() override;
31 BrowserState* GetBrowserState() const override; 31 BrowserState* GetBrowserState() const override;
32 void OpenURL(const OpenURLParams& params) override {} 32 void OpenURL(const OpenURLParams& params) override {}
33 const NavigationManager* GetNavigationManager() const override;
33 NavigationManager* GetNavigationManager() override; 34 NavigationManager* GetNavigationManager() override;
34 CRWJSInjectionReceiver* GetJSInjectionReceiver() const override; 35 CRWJSInjectionReceiver* GetJSInjectionReceiver() const override;
35 void ExecuteJavaScript(const base::string16& javascript) override; 36 void ExecuteJavaScript(const base::string16& javascript) override;
36 void ExecuteJavaScript(const base::string16& javascript, 37 void ExecuteJavaScript(const base::string16& javascript,
37 const JavaScriptResultCallback& callback) override; 38 const JavaScriptResultCallback& callback) override;
38 const std::string& GetContentsMimeType() const override; 39 const std::string& GetContentsMimeType() const override;
39 const std::string& GetContentLanguageHeader() const override; 40 const std::string& GetContentLanguageHeader() const override;
40 bool ContentIsHTML() const override; 41 bool ContentIsHTML() const override;
41 const base::string16& GetTitle() const override; 42 const base::string16& GetTitle() const override;
42 bool IsLoading() const override; 43 bool IsLoading() const override;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 base::string16 title_; 78 base::string16 title_;
78 URLVerificationTrustLevel trust_level_; 79 URLVerificationTrustLevel trust_level_;
79 bool content_is_html_; 80 bool content_is_html_;
80 std::string mime_type_; 81 std::string mime_type_;
81 std::string content_language_; 82 std::string content_language_;
82 }; 83 };
83 84
84 } // namespace web 85 } // namespace web
85 86
86 #endif // IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_ 87 #endif // IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_
OLDNEW
« no previous file with comments | « no previous file | ios/web/public/test/test_web_state.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698