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

Unified Diff: ash/touch/touch_hud_projection.h

Issue 2118223004: ash: Refactor touch hud drawing to ash/touch_hud as a separate component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a comment. Created 4 years, 5 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
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..11dfee9542281afa0ca0c2e50e1b6993832c13cc 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.
@@ -11,7 +11,7 @@
#include "base/macros.h"
namespace ash {
-class TouchPointView;
+class TouchHudRenderer;
// 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.
@@ -33,7 +33,8 @@ class TouchHudProjection : public TouchObserverHUD {
void UnsetHudForRootWindowController(
RootWindowController* controller) override;
- std::map<int, TouchPointView*> points_;
+ // TouchHudRenderer draws out the touch points
+ std::unique_ptr<ash::TouchHudRenderer> touch_hud_renderer_;
DISALLOW_COPY_AND_ASSIGN(TouchHudProjection);
};

Powered by Google App Engine
This is Rietveld 408576698