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

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

Issue 1905393002: [ios] Added WebState::GetLoadingProgress web// API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing method Created 4 years, 8 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 22 matching lines...) Expand all
33 NavigationManager* GetNavigationManager() override; 33 NavigationManager* GetNavigationManager() override;
34 CRWJSInjectionReceiver* GetJSInjectionReceiver() const override; 34 CRWJSInjectionReceiver* GetJSInjectionReceiver() const override;
35 void ExecuteJavaScript(const base::string16& javascript) override; 35 void ExecuteJavaScript(const base::string16& javascript) override;
36 void ExecuteJavaScript(const base::string16& javascript, 36 void ExecuteJavaScript(const base::string16& javascript,
37 const JavaScriptResultCallback& callback) override; 37 const JavaScriptResultCallback& callback) override;
38 const std::string& GetContentsMimeType() const override; 38 const std::string& GetContentsMimeType() const override;
39 const std::string& GetContentLanguageHeader() const override; 39 const std::string& GetContentLanguageHeader() const override;
40 bool ContentIsHTML() const override; 40 bool ContentIsHTML() const override;
41 const base::string16& GetTitle() const override; 41 const base::string16& GetTitle() const override;
42 bool IsLoading() const override; 42 bool IsLoading() const override;
43 double GetLoadingProgress() const override;
43 bool IsBeingDestroyed() const override; 44 bool IsBeingDestroyed() const override;
44 const GURL& GetVisibleURL() const override; 45 const GURL& GetVisibleURL() const override;
45 const GURL& GetLastCommittedURL() const override; 46 const GURL& GetLastCommittedURL() const override;
46 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; 47 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override;
47 void ShowTransientContentView(CRWContentView* content_view) override {} 48 void ShowTransientContentView(CRWContentView* content_view) override {}
48 void AddScriptCommandCallback(const ScriptCommandCallback& callback, 49 void AddScriptCommandCallback(const ScriptCommandCallback& callback,
49 const std::string& command_prefix) override {} 50 const std::string& command_prefix) override {}
50 void RemoveScriptCommandCallback(const std::string& command_prefix) override { 51 void RemoveScriptCommandCallback(const std::string& command_prefix) override {
51 } 52 }
52 CRWWebViewProxyType GetWebViewProxy() const override; 53 CRWWebViewProxyType GetWebViewProxy() const override;
(...skipping 22 matching lines...) Expand all
75 base::string16 title_; 76 base::string16 title_;
76 URLVerificationTrustLevel trust_level_; 77 URLVerificationTrustLevel trust_level_;
77 bool content_is_html_; 78 bool content_is_html_;
78 std::string mime_type_; 79 std::string mime_type_;
79 std::string content_language_; 80 std::string content_language_;
80 }; 81 };
81 82
82 } // namespace web 83 } // namespace web
83 84
84 #endif // IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_ 85 #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