Index: ios/web/web_state/ui/crw_web_controller+protected.h |
diff --git a/ios/web/web_state/ui/crw_web_controller+protected.h b/ios/web/web_state/ui/crw_web_controller+protected.h |
index ee5024fe360af887a504682fa605773269c1512d..8b097b109fe32394fb51319be169f349062d153d 100644 |
--- a/ios/web/web_state/ui/crw_web_controller+protected.h |
+++ b/ios/web/web_state/ui/crw_web_controller+protected.h |
@@ -90,10 +90,6 @@ enum WebViewDocumentType { |
// Cancels any load in progress in the web view. |
- (void)abortWebLoad; |
-// Returns selector to handle JavaScript message with command property |
-// |command|. Subclasses may override to handle class-specific messages. |
-- (SEL)selectorToHandleJavaScriptCommand:(const std::string&)command; |
- |
// Sets zoom scale value for webview scroll view from |zoomState|. |
- (void)applyWebViewScrollZoomScaleFromZoomState: |
(const web::PageZoomState&)zoomState; |
@@ -184,6 +180,10 @@ enum WebViewDocumentType { |
// loaded. |
@property(nonatomic, readwrite) BOOL userInteractionRegistered; |
+// Whether the web page is currently performing window.history.pushState or |
+// window.history.replaceState |
+@property(nonatomic, readonly) BOOL changingHistoryState; |
+ |
// Returns the current window id. |
@property(nonatomic, readonly) NSString* windowId; |