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

Unified Diff: content/renderer/gpu/input_handler_proxy.h

Issue 16156002: gpu: Avoid flinging beyond content edge (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/gpu/input_handler_proxy.h
diff --git a/content/renderer/gpu/input_handler_proxy.h b/content/renderer/gpu/input_handler_proxy.h
index c3f0fc25907d8d2fade3ecca8303d4c71d8b9879..719f73c488b9eb44362e93b4eaf30ac9bf0a658d 100644
--- a/content/renderer/gpu/input_handler_proxy.h
+++ b/content/renderer/gpu/input_handler_proxy.h
@@ -85,6 +85,9 @@ class CONTENT_EXPORT InputHandlerProxy
// conservative in the sense that we might not be actually flinging when it is
// true.
bool fling_may_be_active_on_main_thread_;
+ // The axes on which the current fling has overshot the bounds of the content.
+ bool fling_overscrolled_horizontally_;
+ bool fling_overscrolled_vertically_;
DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy);
};
« no previous file with comments | « no previous file | content/renderer/gpu/input_handler_proxy.cc » ('j') | content/renderer/gpu/input_handler_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698