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

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

Issue 2710913006: Removed -[CRWWebDelegate webController:titleDidChange:]. (Closed)
Patch Set: Rebased 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_CRW_TEST_WEB_STATE_OBSERVER_H_ 5 #ifndef IOS_WEB_PUBLIC_TEST_FAKES_CRW_TEST_WEB_STATE_OBSERVER_H_
6 #define IOS_WEB_PUBLIC_TEST_FAKES_CRW_TEST_WEB_STATE_OBSERVER_H_ 6 #define IOS_WEB_PUBLIC_TEST_FAKES_CRW_TEST_WEB_STATE_OBSERVER_H_
7 7
8 #include "ios/web/public/favicon_url.h" 8 #include "ios/web/public/favicon_url.h"
9 #include "ios/web/public/load_committed_details.h" 9 #include "ios/web/public/load_committed_details.h"
10 #import "ios/web/public/web_state/web_state_observer_bridge.h" 10 #import "ios/web/public/web_state/web_state_observer_bridge.h"
(...skipping 28 matching lines...) Expand all
39 struct TestChangeHistoryStateInfo { 39 struct TestChangeHistoryStateInfo {
40 WebState* web_state; 40 WebState* web_state;
41 }; 41 };
42 42
43 // Arguments passed to |webState:didChangeLoadingProgress:|. 43 // Arguments passed to |webState:didChangeLoadingProgress:|.
44 struct TestChangeLoadingProgressInfo { 44 struct TestChangeLoadingProgressInfo {
45 WebState* web_state; 45 WebState* web_state;
46 double progress; 46 double progress;
47 }; 47 };
48 48
49 // Arguments passed to |webStateDidChangeTitle:|.
50 struct TestTitleWasSetInfo {
51 WebState* web_state;
52 };
53
49 // Arguments passed to |webState:didSubmitDocumentWithFormNamed:userInitiated:|. 54 // Arguments passed to |webState:didSubmitDocumentWithFormNamed:userInitiated:|.
50 struct TestSubmitDocumentInfo { 55 struct TestSubmitDocumentInfo {
51 WebState* web_state; 56 WebState* web_state;
52 std::string form_name; 57 std::string form_name;
53 BOOL user_initiated; 58 BOOL user_initiated;
54 }; 59 };
55 60
56 // Arguments passed to 61 // Arguments passed to
57 // |webState:didRegisterFormActivityWithFormNamed:fieldName:type:value:|. 62 // |webState:didRegisterFormActivityWithFormNamed:fieldName:type:value:|.
58 struct TestFormActivityInfo { 63 struct TestFormActivityInfo {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 @property(nonatomic, readonly) web::TestLoadPageInfo* loadPageInfo; 114 @property(nonatomic, readonly) web::TestLoadPageInfo* loadPageInfo;
110 // Arguments passed to |webStateDidDismissInterstitial:|. 115 // Arguments passed to |webStateDidDismissInterstitial:|.
111 @property(nonatomic, readonly) 116 @property(nonatomic, readonly)
112 web::TestDismissInterstitialInfo* dismissInterstitialInfo; 117 web::TestDismissInterstitialInfo* dismissInterstitialInfo;
113 // Arguments passed to |webStateDidChangeHistoryState:|. 118 // Arguments passed to |webStateDidChangeHistoryState:|.
114 @property(nonatomic, readonly) 119 @property(nonatomic, readonly)
115 web::TestChangeHistoryStateInfo* changeHistoryStateInfo; 120 web::TestChangeHistoryStateInfo* changeHistoryStateInfo;
116 // Arguments passed to |webState:didChangeLoadingProgress:|. 121 // Arguments passed to |webState:didChangeLoadingProgress:|.
117 @property(nonatomic, readonly) 122 @property(nonatomic, readonly)
118 web::TestChangeLoadingProgressInfo* changeLoadingProgressInfo; 123 web::TestChangeLoadingProgressInfo* changeLoadingProgressInfo;
124 // Arguments passed to |webStateDidChangeTitle:|.
125 @property(nonatomic, readonly) web::TestTitleWasSetInfo* titleWasSetInfo;
119 // Arguments passed to |webState:didSubmitDocumentWithFormNamed:userInitiated:|. 126 // Arguments passed to |webState:didSubmitDocumentWithFormNamed:userInitiated:|.
120 @property(nonatomic, readonly) web::TestSubmitDocumentInfo* submitDocumentInfo; 127 @property(nonatomic, readonly) web::TestSubmitDocumentInfo* submitDocumentInfo;
121 // Arguments passed to 128 // Arguments passed to
122 // |webState:didRegisterFormActivityWithFormNamed:fieldName:type:value:|. 129 // |webState:didRegisterFormActivityWithFormNamed:fieldName:type:value:|.
123 @property(nonatomic, readonly) web::TestFormActivityInfo* formActivityInfo; 130 @property(nonatomic, readonly) web::TestFormActivityInfo* formActivityInfo;
124 // Arguments passed to |webState:didUpdateFaviconURLCandidates|. 131 // Arguments passed to |webState:didUpdateFaviconURLCandidates|.
125 @property(nonatomic, readonly) 132 @property(nonatomic, readonly)
126 web::TestUpdateFaviconUrlCandidatesInfo* updateFaviconUrlCandidatesInfo; 133 web::TestUpdateFaviconUrlCandidatesInfo* updateFaviconUrlCandidatesInfo;
127 // Arguments passed to |webState:renderProcessGoneForWebState:|. 134 // Arguments passed to |webState:renderProcessGoneForWebState:|.
128 @property(nonatomic, readonly) 135 @property(nonatomic, readonly)
129 web::TestRenderProcessGoneInfo* renderProcessGoneInfo; 136 web::TestRenderProcessGoneInfo* renderProcessGoneInfo;
130 // Arguments passed to |webStateDestroyed:|. 137 // Arguments passed to |webStateDestroyed:|.
131 @property(nonatomic, readonly) 138 @property(nonatomic, readonly)
132 web::TestWebStateDestroyedInfo* webStateDestroyedInfo; 139 web::TestWebStateDestroyedInfo* webStateDestroyedInfo;
133 // Arguments passed to |webStateDidStopLoading:|. 140 // Arguments passed to |webStateDidStopLoading:|.
134 @property(nonatomic, readonly) web::TestStopLoadingInfo* stopLoadingInfo; 141 @property(nonatomic, readonly) web::TestStopLoadingInfo* stopLoadingInfo;
135 // Arguments passed to |webStateDidStartLoading:|. 142 // Arguments passed to |webStateDidStartLoading:|.
136 @property(nonatomic, readonly) web::TestStartLoadingInfo* startLoadingInfo; 143 @property(nonatomic, readonly) web::TestStartLoadingInfo* startLoadingInfo;
137 144
138 @end 145 @end
139 146
140 #endif // IOS_WEB_PUBLIC_TEST_FAKES_CRW_TEST_WEB_STATE_OBSERVER_H_ 147 #endif // IOS_WEB_PUBLIC_TEST_FAKES_CRW_TEST_WEB_STATE_OBSERVER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/tabs/tab_unittest.mm ('k') | ios/web/public/test/fakes/crw_test_web_state_observer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698