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

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

Issue 2710913006: Removed -[CRWWebDelegate webController:titleDidChange:]. (Closed)
Patch Set: iOS9 fix 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 struct TestChangeHistoryStateInfo { 44 struct TestChangeHistoryStateInfo {
45 WebState* web_state; 45 WebState* web_state;
46 }; 46 };
47 47
48 // Arguments passed to |webState:didChangeLoadingProgress:|. 48 // Arguments passed to |webState:didChangeLoadingProgress:|.
49 struct TestChangeLoadingProgressInfo { 49 struct TestChangeLoadingProgressInfo {
50 WebState* web_state; 50 WebState* web_state;
51 double progress; 51 double progress;
52 }; 52 };
53 53
54 // Arguments passed to |webStateDidChangeTitle:|.
55 struct TestTitleWasSetInfo {
56 WebState* web_state;
57 };
58
54 // Arguments passed to |webState:didSubmitDocumentWithFormNamed:userInitiated:|. 59 // Arguments passed to |webState:didSubmitDocumentWithFormNamed:userInitiated:|.
55 struct TestSubmitDocumentInfo { 60 struct TestSubmitDocumentInfo {
56 WebState* web_state; 61 WebState* web_state;
57 std::string form_name; 62 std::string form_name;
58 BOOL user_initiated; 63 BOOL user_initiated;
59 }; 64 };
60 65
61 // Arguments passed to 66 // Arguments passed to
62 // |webState:didRegisterFormActivityWithFormNamed:fieldName:type:value:|. 67 // |webState:didRegisterFormActivityWithFormNamed:fieldName:type:value:|.
63 struct TestFormActivityInfo { 68 struct TestFormActivityInfo {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 @property(nonatomic, readonly) 121 @property(nonatomic, readonly)
117 web::TestDismissInterstitialInfo* dismissInterstitialInfo; 122 web::TestDismissInterstitialInfo* dismissInterstitialInfo;
118 // Arguments passed to |webStateDidChangeURLHash:|. 123 // Arguments passed to |webStateDidChangeURLHash:|.
119 @property(nonatomic, readonly) web::TestChangeUrlHashInfo* changeUrlHashInfo; 124 @property(nonatomic, readonly) web::TestChangeUrlHashInfo* changeUrlHashInfo;
120 // Arguments passed to |webStateDidChangeHistoryState:|. 125 // Arguments passed to |webStateDidChangeHistoryState:|.
121 @property(nonatomic, readonly) 126 @property(nonatomic, readonly)
122 web::TestChangeHistoryStateInfo* changeHistoryStateInfo; 127 web::TestChangeHistoryStateInfo* changeHistoryStateInfo;
123 // Arguments passed to |webState:didChangeLoadingProgress:|. 128 // Arguments passed to |webState:didChangeLoadingProgress:|.
124 @property(nonatomic, readonly) 129 @property(nonatomic, readonly)
125 web::TestChangeLoadingProgressInfo* changeLoadingProgressInfo; 130 web::TestChangeLoadingProgressInfo* changeLoadingProgressInfo;
131 // Arguments passed to |webStateDidChangeTitle:|.
132 @property(nonatomic, readonly) web::TestTitleWasSetInfo* titleWasSetInfo;
126 // Arguments passed to |webState:didSubmitDocumentWithFormNamed:userInitiated:|. 133 // Arguments passed to |webState:didSubmitDocumentWithFormNamed:userInitiated:|.
127 @property(nonatomic, readonly) web::TestSubmitDocumentInfo* submitDocumentInfo; 134 @property(nonatomic, readonly) web::TestSubmitDocumentInfo* submitDocumentInfo;
128 // Arguments passed to 135 // Arguments passed to
129 // |webState:didRegisterFormActivityWithFormNamed:fieldName:type:value:|. 136 // |webState:didRegisterFormActivityWithFormNamed:fieldName:type:value:|.
130 @property(nonatomic, readonly) web::TestFormActivityInfo* formActivityInfo; 137 @property(nonatomic, readonly) web::TestFormActivityInfo* formActivityInfo;
131 // Arguments passed to |webState:didUpdateFaviconURLCandidates|. 138 // Arguments passed to |webState:didUpdateFaviconURLCandidates|.
132 @property(nonatomic, readonly) 139 @property(nonatomic, readonly)
133 web::TestUpdateFaviconUrlCandidatesInfo* updateFaviconUrlCandidatesInfo; 140 web::TestUpdateFaviconUrlCandidatesInfo* updateFaviconUrlCandidatesInfo;
134 // Arguments passed to |webState:renderProcessGoneForWebState:|. 141 // Arguments passed to |webState:renderProcessGoneForWebState:|.
135 @property(nonatomic, readonly) 142 @property(nonatomic, readonly)
136 web::TestRenderProcessGoneInfo* renderProcessGoneInfo; 143 web::TestRenderProcessGoneInfo* renderProcessGoneInfo;
137 // Arguments passed to |webStateDestroyed:|. 144 // Arguments passed to |webStateDestroyed:|.
138 @property(nonatomic, readonly) 145 @property(nonatomic, readonly)
139 web::TestWebStateDestroyedInfo* webStateDestroyedInfo; 146 web::TestWebStateDestroyedInfo* webStateDestroyedInfo;
140 // Arguments passed to |webStateDidStopLoading:|. 147 // Arguments passed to |webStateDidStopLoading:|.
141 @property(nonatomic, readonly) web::TestStopLoadingInfo* stopLoadingInfo; 148 @property(nonatomic, readonly) web::TestStopLoadingInfo* stopLoadingInfo;
142 // Arguments passed to |webStateDidStartLoading:|. 149 // Arguments passed to |webStateDidStartLoading:|.
143 @property(nonatomic, readonly) web::TestStartLoadingInfo* startLoadingInfo; 150 @property(nonatomic, readonly) web::TestStartLoadingInfo* startLoadingInfo;
144 151
145 @end 152 @end
146 153
147 #endif // IOS_WEB_PUBLIC_TEST_FAKES_CRW_TEST_WEB_STATE_OBSERVER_H_ 154 #endif // IOS_WEB_PUBLIC_TEST_FAKES_CRW_TEST_WEB_STATE_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698