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

Unified Diff: ios/web/public/test/fakes/crw_test_web_state_observer.h

Issue 2718733003: Removed -[CRWWebDelegate webDidUpdateHistoryStateWithPageURL]. (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/tabs/tab.mm ('k') | ios/web/public/test/fakes/crw_test_web_state_observer.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/test/fakes/crw_test_web_state_observer.h
diff --git a/ios/web/public/test/fakes/crw_test_web_state_observer.h b/ios/web/public/test/fakes/crw_test_web_state_observer.h
index fb5fe73117eab52fc3ae33f270aac4bf2a8a0211..66005cb9d632eeebbcad92a54a53f232adfd237c 100644
--- a/ios/web/public/test/fakes/crw_test_web_state_observer.h
+++ b/ios/web/public/test/fakes/crw_test_web_state_observer.h
@@ -8,16 +8,24 @@
#include "ios/web/public/favicon_url.h"
#include "ios/web/public/load_committed_details.h"
#import "ios/web/public/web_state/web_state_observer_bridge.h"
-#import "ios/web/public/web_state/web_state.h"
namespace web {
+class NavigationContext;
+class WebState;
+
// Arguments passed to |webState:didStartProvisionalNavigationForURL:|.
struct TestStartProvisionalNavigationInfo {
WebState* web_state;
GURL url;
};
+// Arguments passed to |webState:didFinishNavigation:|.
+struct TestDidFinishNavigationInfo {
+ WebState* web_state;
+ web::NavigationContext* context;
+};
+
// Arguments passed to |webState:didCommitNavigationWithDetails:|.
struct TestCommitNavigationInfo {
WebState* web_state;
@@ -107,6 +115,9 @@ struct TestStartLoadingInfo {
// Arguments passed to |webState:didStartProvisionalNavigationForURL:|.
@property(nonatomic, readonly)
web::TestStartProvisionalNavigationInfo* startProvisionalNavigationInfo;
+// Arguments passed to |webState:didFinishNavigation:|.
+@property(nonatomic, readonly)
+ web::TestDidFinishNavigationInfo* didFinishNavigationInfo;
// Arguments passed to |webState:didCommitNavigationWithDetails:|.
@property(nonatomic, readonly)
web::TestCommitNavigationInfo* commitNavigationInfo;
« no previous file with comments | « ios/chrome/browser/tabs/tab.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