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

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: 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
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const GURL& GetLastCommittedURL() const override; 50 const GURL& GetLastCommittedURL() const override;
51 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override; 51 GURL GetCurrentURL(URLVerificationTrustLevel* trust_level) const override;
52 void ShowTransientContentView(CRWContentView* content_view) override {} 52 void ShowTransientContentView(CRWContentView* content_view) override {}
53 void AddScriptCommandCallback(const ScriptCommandCallback& callback, 53 void AddScriptCommandCallback(const ScriptCommandCallback& callback,
54 const std::string& command_prefix) override {} 54 const std::string& command_prefix) override {}
55 void RemoveScriptCommandCallback(const std::string& command_prefix) override { 55 void RemoveScriptCommandCallback(const std::string& command_prefix) override {
56 } 56 }
57 CRWWebViewProxyType GetWebViewProxy() const override; 57 CRWWebViewProxyType GetWebViewProxy() const override;
58 bool IsShowingWebInterstitial() const override; 58 bool IsShowingWebInterstitial() const override;
59 WebInterstitial* GetWebInterstitial() const override; 59 WebInterstitial* GetWebInterstitial() const override;
60 void OnPasswordInputShownOnHttp() override{};
Eugene But (OOO till 7-30) 2016/12/08 01:48:43 No space before |{| and drop |;|
lgarron 2016/12/15 03:04:31 Done.
60 void AddObserver(WebStateObserver* observer) override {} 61 void AddObserver(WebStateObserver* observer) override {}
61 void RemoveObserver(WebStateObserver* observer) override {} 62 void RemoveObserver(WebStateObserver* observer) override {}
62 void AddPolicyDecider(WebStatePolicyDecider* decider) override {} 63 void AddPolicyDecider(WebStatePolicyDecider* decider) override {}
63 void RemovePolicyDecider(WebStatePolicyDecider* decider) override {} 64 void RemovePolicyDecider(WebStatePolicyDecider* decider) override {}
64 int DownloadImage(const GURL& url, 65 int DownloadImage(const GURL& url,
65 bool is_favicon, 66 bool is_favicon,
66 uint32_t max_bitmap_size, 67 uint32_t max_bitmap_size,
67 bool bypass_cache, 68 bool bypass_cache,
68 const ImageDownloadCallback& callback) override; 69 const ImageDownloadCallback& callback) override;
69 service_manager::InterfaceRegistry* GetMojoInterfaceRegistry() override; 70 service_manager::InterfaceRegistry* GetMojoInterfaceRegistry() override;
(...skipping 12 matching lines...) Expand all
82 base::string16 title_; 83 base::string16 title_;
83 URLVerificationTrustLevel trust_level_; 84 URLVerificationTrustLevel trust_level_;
84 bool content_is_html_; 85 bool content_is_html_;
85 std::string mime_type_; 86 std::string mime_type_;
86 std::string content_language_; 87 std::string content_language_;
87 }; 88 };
88 89
89 } // namespace web 90 } // namespace web
90 91
91 #endif // IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_ 92 #endif // IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698