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

Unified Diff: Source/Platform/chromium/public/WebInputHandlerClient.h

Issue 11369231: [Sanity Review] cc: Mark an event has not-handled if it didn't cause a scroll (Closed) Base URL: git://git.webkit.org/WebKit.git@master
Patch Set: Created 8 years, 1 month 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 | « no previous file | Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/Platform/chromium/public/WebInputHandlerClient.h
diff --git a/Source/Platform/chromium/public/WebInputHandlerClient.h b/Source/Platform/chromium/public/WebInputHandlerClient.h
index 1bef205c4eb4514ca58f6d323902428f6231c243..c9f2a0c83b6c38fa136037e30f22356cd6fc0038 100644
--- a/Source/Platform/chromium/public/WebInputHandlerClient.h
+++ b/Source/Platform/chromium/public/WebInputHandlerClient.h
@@ -53,7 +53,7 @@ public:
// there is no room to move the layer in the requested direction, its first
// ancestor layer that can be scrolled will be moved instead. Should only be
// called if scrollBegin() returned ScrollStarted.
- virtual void scrollBy(WebPoint, WebSize) = 0;
+ virtual bool scrollBy(WebPoint, WebSize) = 0;
danakj 2012/11/14 01:55:32 You should add a comment about the return value.
rjkroege 2012/11/14 17:00:26 And: it would be nice to use enums for these sorts
// Stop scrolling the selected layer. Should only be called if scrollBegin()
// returned ScrollStarted.
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698