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

Unified Diff: cc/input_handler.h

Issue 11358050: Remove most remaining webcore points and sizes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebasedd 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 | « cc/heads_up_display_unittest.cc ('k') | cc/io_surface_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input_handler.h
diff --git a/cc/input_handler.h b/cc/input_handler.h
index def6c394f6b1f3865eafbf4bc1a3d0d8d26126bf..0e27bad338c147b8c8446a6fa3d1f4dcb5fda610 100644
--- a/cc/input_handler.h
+++ b/cc/input_handler.h
@@ -8,6 +8,10 @@
#include "base/basictypes.h"
#include "base/time.h"
+namespace gfx {
+class Point;
+}
+
namespace cc {
class IntPoint;
@@ -31,7 +35,7 @@ public:
// can be scrolled, ScrollOnMainThread if the scroll event should instead be
// delegated to the main thread, or ScrollIgnored if there is nothing to be
// scrolled at the given coordinates.
- virtual ScrollStatus scrollBegin(const IntPoint&, ScrollInputType) = 0;
+ virtual ScrollStatus scrollBegin(const gfx::Point&, ScrollInputType) = 0;
// Scroll the selected layer starting at the given position. If the scroll
// type given to scrollBegin was a gesture, then the scroll point and delta
@@ -40,7 +44,7 @@ public:
// 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(const IntPoint&, const IntSize&) = 0;
+ virtual void scrollBy(const gfx::Point&, const IntSize&) = 0;
// Stop scrolling the selected layer. Should only be called if scrollBegin()
// returned ScrollStarted.
« no previous file with comments | « cc/heads_up_display_unittest.cc ('k') | cc/io_surface_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698