| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 ASH_TOUCH_TOUCH_HUD_PROJECTION_H_ | 5 #ifndef ASH_TOUCH_TOUCH_HUD_PROJECTION_H_ |
| 6 #define ASH_TOUCH_TOUCH_HUD_PROJECTION_H_ | 6 #define ASH_TOUCH_TOUCH_HUD_PROJECTION_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "ash/touch/touch_observer_hud.h" | 10 #include "ash/touch/touch_observer_hud.h" |
| 11 #include "base/macros.h" |
| 11 | 12 |
| 12 namespace ash { | 13 namespace ash { |
| 13 class TouchPointView; | 14 class TouchPointView; |
| 14 | 15 |
| 15 // A heads-up display to show active touch points on the screen. As a derivative | 16 // A heads-up display to show active touch points on the screen. As a derivative |
| 16 // of TouchObserverHUD, objects of this class manage their own lifetime. | 17 // of TouchObserverHUD, objects of this class manage their own lifetime. |
| 17 class TouchHudProjection : public TouchObserverHUD { | 18 class TouchHudProjection : public TouchObserverHUD { |
| 18 public: | 19 public: |
| 19 explicit TouchHudProjection(aura::Window* initial_root); | 20 explicit TouchHudProjection(aura::Window* initial_root); |
| 20 | 21 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 33 RootWindowController* controller) override; | 34 RootWindowController* controller) override; |
| 34 | 35 |
| 35 std::map<int, TouchPointView*> points_; | 36 std::map<int, TouchPointView*> points_; |
| 36 | 37 |
| 37 DISALLOW_COPY_AND_ASSIGN(TouchHudProjection); | 38 DISALLOW_COPY_AND_ASSIGN(TouchHudProjection); |
| 38 }; | 39 }; |
| 39 | 40 |
| 40 } // namespace ash | 41 } // namespace ash |
| 41 | 42 |
| 42 #endif // ASH_TOUCH_TOUCH_HUD_PROJECTION_H_ | 43 #endif // ASH_TOUCH_TOUCH_HUD_PROJECTION_H_ |
| OLD | NEW |