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

Unified Diff: ios/web/web_state/ui/crw_web_controller+protected.h

Issue 1839323003: Move _changingHistoryState to superclass. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove old comment. Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/ui/crw_wk_web_view_web_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/ui/crw_wk_web_view_web_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698