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

Unified Diff: content/renderer/render_widget.h

Issue 1203693003: Setting Accurate ScrollResult from Blink for Elastic Scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 5d58a876efd8cf56759129979bd98a67c0d4e845..0321f54c94d22b507fc70344decab275a3cf1a42 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -348,6 +348,10 @@ class CONTENT_EXPORT RenderWidget
bool DoesRecordFullLayer() const;
#endif
+#if defined(OS_MACOSX) && !defined(OS_IOS)
+ bool IsElasticOverscrollEnabled() const;
+#endif
+
bool host_closing() const { return host_closing_; }
protected:
@@ -818,6 +822,7 @@ class CONTENT_EXPORT RenderWidget
ui::MenuSourceType context_menu_source_type_;
bool has_host_context_menu_location_;
gfx::Point host_context_menu_location_;
+ gfx::Vector2dF unused_delta_on_wheel_overscroll_;
DISALLOW_COPY_AND_ASSIGN(RenderWidget);
};

Powered by Google App Engine
This is Rietveld 408576698