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

Unified Diff: ios/web/web_state/ui/crw_web_view_scroll_view_proxy.mm

Issue 2840013004: Add CRWWebViewScrollViewProxy.dragging which will be used in (Closed)
Patch Set: Apply review comments. Created 3 years, 8 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
Index: ios/web/web_state/ui/crw_web_view_scroll_view_proxy.mm
diff --git a/ios/web/web_state/ui/crw_web_view_scroll_view_proxy.mm b/ios/web/web_state/ui/crw_web_view_scroll_view_proxy.mm
index 3c5b54e051fea81724c5dda4a48eb53286a22a08..a11229edbb8062480b96c03fb54b65318da95ba3 100644
--- a/ios/web/web_state/ui/crw_web_view_scroll_view_proxy.mm
+++ b/ios/web/web_state/ui/crw_web_view_scroll_view_proxy.mm
@@ -93,6 +93,10 @@
[_scrollView setBounces:bounces];
}
+- (BOOL)isDragging {
+ return [_scrollView isDragging];
+}
+
- (BOOL)isZooming {
return [_scrollView isZooming];
}

Powered by Google App Engine
This is Rietveld 408576698