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

Side by Side Diff: ios/web/public/test/fakes/test_web_state_observer.h

Issue 2752013002: Removed webControllerDidUpdateSSLStatusForCurrentNavigationItem:. (Closed)
Patch Set: Created 3 years, 9 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_FAKES_TEST_WEB_STATE_OBSERVER_H_ 5 #ifndef IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_OBSERVER_H_
6 #define IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_OBSERVER_H_ 6 #define IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_OBSERVER_H_
7 7
8 #include "ios/web/public/test/fakes/test_web_state_observer_util.h" 8 #include "ios/web/public/test/fakes/test_web_state_observer_util.h"
9 #include "ios/web/public/web_state/web_state_observer.h" 9 #include "ios/web/public/web_state/web_state_observer.h"
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 return navigation_items_pruned_info_.get(); 48 return navigation_items_pruned_info_.get();
49 } 49 }
50 // Arguments passed to |NavigationItemChanged|. 50 // Arguments passed to |NavigationItemChanged|.
51 web::TestNavigationItemChangedInfo* navigation_item_changed_info() { 51 web::TestNavigationItemChangedInfo* navigation_item_changed_info() {
52 return navigation_item_changed_info_.get(); 52 return navigation_item_changed_info_.get();
53 } 53 }
54 // Arguments passed to |TitleWasSet|. 54 // Arguments passed to |TitleWasSet|.
55 web::TestTitleWasSetInfo* title_was_set_info() { 55 web::TestTitleWasSetInfo* title_was_set_info() {
56 return title_was_set_info_.get(); 56 return title_was_set_info_.get();
57 } 57 }
58 // Arguments passed to |DidChangeVisibleSecurityState|.
59 web::TestDidChangeVisibleSecurityStateInfo*
60 did_change_visible_security_state_info() {
61 return did_change_visible_security_state_info_.get();
62 }
58 // Arguments passed to |DocumentSubmitted|. 63 // Arguments passed to |DocumentSubmitted|.
59 web::TestSubmitDocumentInfo* submit_document_info() { 64 web::TestSubmitDocumentInfo* submit_document_info() {
60 return submit_document_info_.get(); 65 return submit_document_info_.get();
61 } 66 }
62 // Arguments passed to |FormActivityRegistered|. 67 // Arguments passed to |FormActivityRegistered|.
63 web::TestFormActivityInfo* form_activity_info() { 68 web::TestFormActivityInfo* form_activity_info() {
64 return form_activity_info_.get(); 69 return form_activity_info_.get();
65 } 70 }
66 // Arguments passed to |FaviconUrlUpdated|. 71 // Arguments passed to |FaviconUrlUpdated|.
67 web::TestUpdateFaviconUrlCandidatesInfo* 72 web::TestUpdateFaviconUrlCandidatesInfo*
(...skipping 21 matching lines...) Expand all
89 // WebStateObserver implementation: 94 // WebStateObserver implementation:
90 void ProvisionalNavigationStarted(const GURL& url) override; 95 void ProvisionalNavigationStarted(const GURL& url) override;
91 void NavigationItemCommitted(const LoadCommittedDetails&) override; 96 void NavigationItemCommitted(const LoadCommittedDetails&) override;
92 void PageLoaded(PageLoadCompletionStatus load_completion_status) override; 97 void PageLoaded(PageLoadCompletionStatus load_completion_status) override;
93 void InterstitialDismissed() override; 98 void InterstitialDismissed() override;
94 void LoadProgressChanged(double progress) override; 99 void LoadProgressChanged(double progress) override;
95 void NavigationItemsPruned(size_t pruned_item_count) override; 100 void NavigationItemsPruned(size_t pruned_item_count) override;
96 void NavigationItemChanged() override; 101 void NavigationItemChanged() override;
97 void DidFinishNavigation(NavigationContext* context) override; 102 void DidFinishNavigation(NavigationContext* context) override;
98 void TitleWasSet() override; 103 void TitleWasSet() override;
104 void DidChangeVisibleSecurityState() override;
99 void DocumentSubmitted(const std::string& form_name, 105 void DocumentSubmitted(const std::string& form_name,
100 bool user_initiated) override; 106 bool user_initiated) override;
101 void FormActivityRegistered(const std::string& form_name, 107 void FormActivityRegistered(const std::string& form_name,
102 const std::string& field_name, 108 const std::string& field_name,
103 const std::string& type, 109 const std::string& type,
104 const std::string& value, 110 const std::string& value,
105 bool input_missing) override; 111 bool input_missing) override;
106 void FaviconUrlUpdated(const std::vector<FaviconURL>& candidates) override; 112 void FaviconUrlUpdated(const std::vector<FaviconURL>& candidates) override;
107 void RenderProcessGone() override; 113 void RenderProcessGone() override;
108 void WebStateDestroyed() override; 114 void WebStateDestroyed() override;
109 void DidStartLoading() override; 115 void DidStartLoading() override;
110 void DidStopLoading() override; 116 void DidStopLoading() override;
111 117
112 std::unique_ptr<web::TestStartProvisionalNavigationInfo> 118 std::unique_ptr<web::TestStartProvisionalNavigationInfo>
113 start_provisional_navigation_info_; 119 start_provisional_navigation_info_;
114 std::unique_ptr<web::TestCommitNavigationInfo> commit_navigation_info_; 120 std::unique_ptr<web::TestCommitNavigationInfo> commit_navigation_info_;
115 std::unique_ptr<web::TestLoadPageInfo> load_page_info_; 121 std::unique_ptr<web::TestLoadPageInfo> load_page_info_;
116 std::unique_ptr<web::TestDismissInterstitialInfo> dismiss_interstitial_info_; 122 std::unique_ptr<web::TestDismissInterstitialInfo> dismiss_interstitial_info_;
117 std::unique_ptr<web::TestChangeLoadingProgressInfo> 123 std::unique_ptr<web::TestChangeLoadingProgressInfo>
118 change_loading_progress_info_; 124 change_loading_progress_info_;
119 std::unique_ptr<web::TestNavigationItemsPrunedInfo> 125 std::unique_ptr<web::TestNavigationItemsPrunedInfo>
120 navigation_items_pruned_info_; 126 navigation_items_pruned_info_;
121 std::unique_ptr<web::TestNavigationItemChangedInfo> 127 std::unique_ptr<web::TestNavigationItemChangedInfo>
122 navigation_item_changed_info_; 128 navigation_item_changed_info_;
123 std::unique_ptr<web::TestDidFinishNavigationInfo> did_finish_navigation_info_; 129 std::unique_ptr<web::TestDidFinishNavigationInfo> did_finish_navigation_info_;
124 std::unique_ptr<web::TestTitleWasSetInfo> title_was_set_info_; 130 std::unique_ptr<web::TestTitleWasSetInfo> title_was_set_info_;
131 std::unique_ptr<web::TestDidChangeVisibleSecurityStateInfo>
132 did_change_visible_security_state_info_;
125 std::unique_ptr<web::TestSubmitDocumentInfo> submit_document_info_; 133 std::unique_ptr<web::TestSubmitDocumentInfo> submit_document_info_;
126 std::unique_ptr<web::TestFormActivityInfo> form_activity_info_; 134 std::unique_ptr<web::TestFormActivityInfo> form_activity_info_;
127 std::unique_ptr<web::TestUpdateFaviconUrlCandidatesInfo> 135 std::unique_ptr<web::TestUpdateFaviconUrlCandidatesInfo>
128 update_favicon_url_candidates_info_; 136 update_favicon_url_candidates_info_;
129 std::unique_ptr<web::TestRenderProcessGoneInfo> render_process_gone_info_; 137 std::unique_ptr<web::TestRenderProcessGoneInfo> render_process_gone_info_;
130 std::unique_ptr<web::TestWebStateDestroyedInfo> web_state_destroyed_info_; 138 std::unique_ptr<web::TestWebStateDestroyedInfo> web_state_destroyed_info_;
131 std::unique_ptr<web::TestStartLoadingInfo> start_loading_info_; 139 std::unique_ptr<web::TestStartLoadingInfo> start_loading_info_;
132 std::unique_ptr<web::TestStopLoadingInfo> stop_loading_info_; 140 std::unique_ptr<web::TestStopLoadingInfo> stop_loading_info_;
133 }; 141 };
134 142
135 } // namespace web 143 } // namespace web
136 144
137 #endif // IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_OBSERVER_H_ 145 #endif // IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_STATE_OBSERVER_H_
OLDNEW
« no previous file with comments | « ios/web/public/test/fakes/crw_test_web_state_observer.mm ('k') | ios/web/public/test/fakes/test_web_state_observer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698