Chromium Code Reviews| Index: views/widget/root_view.cc |
| diff --git a/views/widget/root_view.cc b/views/widget/root_view.cc |
| index b4467f490ca0c41a88cd4b179ea8db0066e88a84..4b70ffdfe7a2ae7bd0f6851a131a45b6e79fb8e0 100644 |
| --- a/views/widget/root_view.cc |
| +++ b/views/widget/root_view.cc |
| @@ -16,6 +16,7 @@ |
| #include "views/focus/view_storage.h" |
| #include "views/layout/fill_layout.h" |
| #include "views/touchui/gesture_manager.h" |
| +#include "views/touchui/gesture_recognizer.h" |
| #include "views/widget/widget.h" |
| namespace views { |
| @@ -438,6 +439,17 @@ void RootView::CalculateOffsetToAncestorWithLayer(gfx::Point* offset, |
| //////////////////////////////////////////////////////////////////////////////// |
| // RootView, private: |
| +void RootView::ForwardGestureEvents(Gestures* gestures) { |
| + scoped_ptr<Gestures> events; |
| + events.reset(gestures); |
| + for (int i = 0; i < events->size(); i++) { |
| + GestureEvent* event = gestures->at(i).GestureEvent(); |
| + // TODO(Gajen): Identify correct view and call respective view's |
|
rjkroege
2011/10/27 23:10:07
Please don't leave this code out. :-)
Gajen
2011/10/31 13:34:30
Now made this public.
|
| + // ProcessGestureEvent(). |
| + } |
| + return; |
| +} |
| + |
| // Input ----------------------------------------------------------------------- |
| void RootView::UpdateCursor(const MouseEvent& event) { |