| OLD | NEW | 
|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef COMPONENTS_MUS_GESTURE_MANAGER_H_ | 5 #ifndef COMPONENTS_MUS_GESTURE_MANAGER_H_ | 
| 6 #define COMPONENTS_MUS_GESTURE_MANAGER_H_ | 6 #define COMPONENTS_MUS_GESTURE_MANAGER_H_ | 
| 7 | 7 | 
| 8 #include <map> | 8 #include <map> | 
| 9 #include <set> | 9 #include <set> | 
| 10 | 10 | 
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" | 
| 12 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" | 
| 13 | 13 | 
| 14 namespace mojo { | 14 namespace mojo { | 
| 15 class Event; | 15 class Event; | 
| 16 } | 16 } | 
| 17 | 17 | 
| 18 namespace view_manager { | 18 namespace mus { | 
| 19 | 19 | 
| 20 class GestureManagerDelegate; | 20 class GestureManagerDelegate; | 
| 21 class GestureManagerTest; | 21 class GestureManagerTest; | 
| 22 class ServerView; | 22 class ServerView; | 
| 23 | 23 | 
| 24 struct GestureStateChange { | 24 struct GestureStateChange { | 
| 25   GestureStateChange(); | 25   GestureStateChange(); | 
| 26   ~GestureStateChange(); | 26   ~GestureStateChange(); | 
| 27 | 27 | 
| 28   uint32_t chosen_gesture; | 28   uint32_t chosen_gesture; | 
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 176 | 176 | 
| 177   // See comment in ScheduleDelete() for details. | 177   // See comment in ScheduleDelete() for details. | 
| 178   ScopedVector<Pointer> pointers_to_delete_; | 178   ScopedVector<Pointer> pointers_to_delete_; | 
| 179 | 179 | 
| 180   // Accumulates changes as the result of SetGestures(). | 180   // Accumulates changes as the result of SetGestures(). | 
| 181   scoped_ptr<ChangeMap> current_change_; | 181   scoped_ptr<ChangeMap> current_change_; | 
| 182 | 182 | 
| 183   DISALLOW_COPY_AND_ASSIGN(GestureManager); | 183   DISALLOW_COPY_AND_ASSIGN(GestureManager); | 
| 184 }; | 184 }; | 
| 185 | 185 | 
| 186 }  // namespace view_manager | 186 }  // namespace mus | 
| 187 | 187 | 
| 188 #endif  // COMPONENTS_MUS_GESTURE_MANAGER_H_ | 188 #endif  // COMPONENTS_MUS_GESTURE_MANAGER_H_ | 
| OLD | NEW | 
|---|