Chromium Code Reviews| Index: ash/touch/touch_hud_projection.h |
| diff --git a/ash/touch/touch_hud_projection.h b/ash/touch/touch_hud_projection.h |
| index ec0f8a24e57ee18a665427587f802e3c0078e58d..458407c76a5ef93b68b481025d86dafeafbd14ef 100644 |
| --- a/ash/touch/touch_hud_projection.h |
| +++ b/ash/touch/touch_hud_projection.h |
| @@ -1,4 +1,4 @@ |
| -// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| @@ -10,9 +10,11 @@ |
| #include "ash/touch/touch_observer_hud.h" |
| #include "base/macros.h" |
| -namespace ash { |
| -class TouchPointView; |
| +namespace views { |
| +class TouchHudDrawer; |
| +} |
| +namespace ash { |
| // A heads-up display to show active touch points on the screen. As a derivative |
| // of TouchObserverHUD, objects of this class manage their own lifetime. |
| class TouchHudProjection : public TouchObserverHUD { |
| @@ -33,7 +35,7 @@ class TouchHudProjection : public TouchObserverHUD { |
| void UnsetHudForRootWindowController( |
| RootWindowController* controller) override; |
| - std::map<int, TouchPointView*> points_; |
| + views::TouchHudDrawer* touch_hud_drawer_ = nullptr; |
|
sky
2016/07/06 16:31:30
unique_ptr
riajiang
2016/07/06 20:30:43
Done.
|
| DISALLOW_COPY_AND_ASSIGN(TouchHudProjection); |
| }; |