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

Unified Diff: ui/events/gestures/gesture_recognizer_impl.h

Issue 789363004: WindowManagerApp should recognize gestures (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rename Aura to Impl and add FIXME Created 5 years, 11 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
« no previous file with comments | « ui/events/gestures/gesture_provider_impl_unittest.cc ('k') | ui/events/gestures/gesture_recognizer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gestures/gesture_recognizer_impl.h
diff --git a/ui/events/gestures/gesture_recognizer_impl.h b/ui/events/gestures/gesture_recognizer_impl.h
index 60edfba485672025d2cac09bd013bf6751c27bd8..d87045a56f8903cb14120e7b9d773a6bf106a315 100644
--- a/ui/events/gestures/gesture_recognizer_impl.h
+++ b/ui/events/gestures/gesture_recognizer_impl.h
@@ -12,7 +12,7 @@
#include "base/memory/scoped_ptr.h"
#include "ui/events/event_constants.h"
#include "ui/events/events_export.h"
-#include "ui/events/gestures/gesture_provider_aura.h"
+#include "ui/events/gestures/gesture_provider_impl.h"
#include "ui/events/gestures/gesture_recognizer.h"
#include "ui/gfx/point.h"
@@ -26,7 +26,7 @@ class TouchEvent;
// (crbug.com/332418), GestureRecognizerImpl can be cleaned up
// significantly.
class EVENTS_EXPORT GestureRecognizerImpl : public GestureRecognizer,
- public GestureProviderAuraClient {
+ public GestureProviderImplClient {
public:
typedef std::map<int, GestureConsumer*> TouchIdToConsumerMap;
@@ -49,7 +49,7 @@ class EVENTS_EXPORT GestureRecognizerImpl : public GestureRecognizer,
virtual bool CancelActiveTouches(GestureConsumer* consumer) override;
protected:
- virtual GestureProviderAura* GetGestureProviderForConsumer(
+ virtual GestureProviderImpl* GetGestureProviderForConsumer(
GestureConsumer* c);
private:
@@ -77,13 +77,13 @@ class EVENTS_EXPORT GestureRecognizerImpl : public GestureRecognizer,
virtual void AddGestureEventHelper(GestureEventHelper* helper) override;
virtual void RemoveGestureEventHelper(GestureEventHelper* helper) override;
- // Overridden from GestureProviderAuraClient
+ // Overridden from GestureProviderImplClient
virtual void OnGestureEvent(GestureEvent* event) override;
// Convenience method to find the GestureEventHelper that can dispatch events
// to a specific |consumer|.
GestureEventHelper* FindDispatchHelperForConsumer(GestureConsumer* consumer);
- std::map<GestureConsumer*, GestureProviderAura*> consumer_gesture_provider_;
+ std::map<GestureConsumer*, GestureProviderImpl*> consumer_gesture_provider_;
// Both |touch_id_target_| and |touch_id_target_for_gestures_| map a touch-id
// to its target window. touch-ids are removed from |touch_id_target_| on
« no previous file with comments | « ui/events/gestures/gesture_provider_impl_unittest.cc ('k') | ui/events/gestures/gesture_recognizer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698