OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |