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

Unified Diff: ash/touch/touch_observer_hud.h

Issue 10399061: ash: Make the touchy heads-up display more colorful/useful. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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 | « no previous file | ash/touch/touch_observer_hud.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/touch/touch_observer_hud.h
diff --git a/ash/touch/touch_observer_hud.h b/ash/touch/touch_observer_hud.h
index 3da6a5624530d0877b1b9356c8c8979bab85d034..aefa62d802c25bf2d8336964e7c49fe9e816a3b4 100644
--- a/ash/touch/touch_observer_hud.h
+++ b/ash/touch/touch_observer_hud.h
@@ -24,6 +24,8 @@ class Widget;
namespace ash {
namespace internal {
+class TouchHudCanvas;
+
// An event filter which handles system level gesture events.
class TouchObserverHUD : public aura::EventFilter {
public:
@@ -45,7 +47,9 @@ class TouchObserverHUD : public aura::EventFilter {
aura::GestureEvent* event) OVERRIDE;
static const int kMaxTouchPoints = 32;
+
scoped_ptr<views::Widget> widget_;
+ TouchHudCanvas* canvas_;
views::Label* touch_labels_[kMaxTouchPoints];
gfx::Point touch_positions_[kMaxTouchPoints];
ui::EventType touch_status_[kMaxTouchPoints];
« no previous file with comments | « no previous file | ash/touch/touch_observer_hud.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698