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

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

Issue 2466143002: iOS: Mark HTTP pages with password fields with an omnibox icon. (Closed)
Patch Set: iOS HTTP Bad. Created 4 years 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 | « ios/web/public/ssl_status.h ('k') | ios/web/public/web_state/web_state.h » ('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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 const GURL& GetLastCommittedURL() const override; 51 const GURL& GetLastCommittedURL() const override;
52 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; 52 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override;
53 void ShowTransientContentView(CRWContentView* content_view) override {} 53 void ShowTransientContentView(CRWContentView* content_view) override {}
54 void AddScriptCommandCallback(const ScriptCommandCallback& callback, 54 void AddScriptCommandCallback(const ScriptCommandCallback& callback,
55 const std::string& command_prefix) override {} 55 const std::string& command_prefix) override {}
56 void RemoveScriptCommandCallback(const std::string& command_prefix) override { 56 void RemoveScriptCommandCallback(const std::string& command_prefix) override {
57 } 57 }
58 CRWWebViewProxyType GetWebViewProxy() const override; 58 CRWWebViewProxyType GetWebViewProxy() const override;
59 bool IsShowingWebInterstitial() const override; 59 bool IsShowingWebInterstitial() const override;
60 WebInterstitial* GetWebInterstitial() const override; 60 WebInterstitial* GetWebInterstitial() const override;
61 void OnPasswordInputShownOnHttp() override {}
61 62
62 void AddObserver(WebStateObserver* observer) override; 63 void AddObserver(WebStateObserver* observer) override;
63 64
64 void RemoveObserver(WebStateObserver* observer) override; 65 void RemoveObserver(WebStateObserver* observer) override;
65 66
66 void AddPolicyDecider(WebStatePolicyDecider* decider) override {} 67 void AddPolicyDecider(WebStatePolicyDecider* decider) override {}
67 void RemovePolicyDecider(WebStatePolicyDecider* decider) override {} 68 void RemovePolicyDecider(WebStatePolicyDecider* decider) override {}
68 int DownloadImage(const GURL& url, 69 int DownloadImage(const GURL& url,
69 bool is_favicon, 70 bool is_favicon,
70 uint32_t max_bitmap_size, 71 uint32_t max_bitmap_size,
(...skipping 18 matching lines...) Expand all
89 std::string mime_type_; 90 std::string mime_type_;
90 std::string content_language_; 91 std::string content_language_;
91 92
92 // A list of observers notified when page state changes. Weak references. 93 // A list of observers notified when page state changes. Weak references.
93 base::ObserverList<WebStateObserver, true> observers_; 94 base::ObserverList<WebStateObserver, true> observers_;
94 }; 95 };
95 96
96 } // namespace web 97 } // namespace web
97 98
98 #endif // IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_ 99 #endif // IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_
OLDNEW
« no previous file with comments | « ios/web/public/ssl_status.h ('k') | ios/web/public/web_state/web_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698