| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 const GURL& GetLastCommittedURL() const override; | 49 const GURL& GetLastCommittedURL() const override; |
| 50 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; | 50 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; |
| 51 void ShowTransientContentView(CRWContentView* content_view) override {} | 51 void ShowTransientContentView(CRWContentView* content_view) override {} |
| 52 void AddScriptCommandCallback(const ScriptCommandCallback& callback, | 52 void AddScriptCommandCallback(const ScriptCommandCallback& callback, |
| 53 const std::string& command_prefix) override {} | 53 const std::string& command_prefix) override {} |
| 54 void RemoveScriptCommandCallback(const std::string& command_prefix) override { | 54 void RemoveScriptCommandCallback(const std::string& command_prefix) override { |
| 55 } | 55 } |
| 56 CRWWebViewProxyType GetWebViewProxy() const override; | 56 CRWWebViewProxyType GetWebViewProxy() const override; |
| 57 bool IsShowingWebInterstitial() const override; | 57 bool IsShowingWebInterstitial() const override; |
| 58 WebInterstitial* GetWebInterstitial() const override; | 58 WebInterstitial* GetWebInterstitial() const override; |
| 59 int GetCertGroupId() const override; | |
| 60 void AddObserver(WebStateObserver* observer) override {} | 59 void AddObserver(WebStateObserver* observer) override {} |
| 61 void RemoveObserver(WebStateObserver* observer) override {} | 60 void RemoveObserver(WebStateObserver* observer) override {} |
| 62 void AddPolicyDecider(WebStatePolicyDecider* decider) override {} | 61 void AddPolicyDecider(WebStatePolicyDecider* decider) override {} |
| 63 void RemovePolicyDecider(WebStatePolicyDecider* decider) override {} | 62 void RemovePolicyDecider(WebStatePolicyDecider* decider) override {} |
| 64 int DownloadImage(const GURL& url, | 63 int DownloadImage(const GURL& url, |
| 65 bool is_favicon, | 64 bool is_favicon, |
| 66 uint32_t max_bitmap_size, | 65 uint32_t max_bitmap_size, |
| 67 bool bypass_cache, | 66 bool bypass_cache, |
| 68 const ImageDownloadCallback& callback) override; | 67 const ImageDownloadCallback& callback) override; |
| 69 shell::InterfaceRegistry* GetMojoInterfaceRegistry() override; | 68 shell::InterfaceRegistry* GetMojoInterfaceRegistry() override; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 82 base::string16 title_; | 81 base::string16 title_; |
| 83 URLVerificationTrustLevel trust_level_; | 82 URLVerificationTrustLevel trust_level_; |
| 84 bool content_is_html_; | 83 bool content_is_html_; |
| 85 std::string mime_type_; | 84 std::string mime_type_; |
| 86 std::string content_language_; | 85 std::string content_language_; |
| 87 }; | 86 }; |
| 88 | 87 |
| 89 } // namespace web | 88 } // namespace web |
| 90 | 89 |
| 91 #endif // IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_ | 90 #endif // IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_ |
| OLD | NEW |