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

Side by Side Diff: ash/touch/touch_hud_debug.h

Issue 1924703002: Rename gfx::Display/Screen to display::Display/Screen in ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « ash/test/ui_controls_factory_ash.cc ('k') | ash/touch/touch_hud_debug.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_DEBUG_H_ 5 #ifndef ASH_TOUCH_TOUCH_HUD_DEBUG_H_
6 #define ASH_TOUCH_TOUCH_HUD_DEBUG_H_ 6 #define ASH_TOUCH_TOUCH_HUD_DEBUG_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 private: 57 private:
58 ~TouchHudDebug() override; 58 ~TouchHudDebug() override;
59 59
60 void SetMode(Mode mode); 60 void SetMode(Mode mode);
61 61
62 void UpdateTouchPointLabel(int index); 62 void UpdateTouchPointLabel(int index);
63 63
64 // Overriden from TouchObserverHUD. 64 // Overriden from TouchObserverHUD.
65 void OnTouchEvent(ui::TouchEvent* event) override; 65 void OnTouchEvent(ui::TouchEvent* event) override;
66 void OnDisplayMetricsChanged(const gfx::Display& display, 66 void OnDisplayMetricsChanged(const display::Display& display,
67 uint32_t metrics) override; 67 uint32_t metrics) override;
68 void SetHudForRootWindowController(RootWindowController* controller) override; 68 void SetHudForRootWindowController(RootWindowController* controller) override;
69 void UnsetHudForRootWindowController( 69 void UnsetHudForRootWindowController(
70 RootWindowController* controller) override; 70 RootWindowController* controller) override;
71 71
72 static const int kMaxTouchPoints = 32; 72 static const int kMaxTouchPoints = 32;
73 73
74 Mode mode_; 74 Mode mode_;
75 75
76 std::unique_ptr<TouchLog> touch_log_; 76 std::unique_ptr<TouchLog> touch_log_;
77 77
78 TouchHudCanvas* canvas_; 78 TouchHudCanvas* canvas_;
79 views::View* label_container_; 79 views::View* label_container_;
80 views::Label* touch_labels_[kMaxTouchPoints]; 80 views::Label* touch_labels_[kMaxTouchPoints];
81 81
82 DISALLOW_COPY_AND_ASSIGN(TouchHudDebug); 82 DISALLOW_COPY_AND_ASSIGN(TouchHudDebug);
83 }; 83 };
84 84
85 } // namespace ash 85 } // namespace ash
86 86
87 #endif // ASH_TOUCH_TOUCH_HUD_DEBUG_H_ 87 #endif // ASH_TOUCH_TOUCH_HUD_DEBUG_H_
OLDNEW
« no previous file with comments | « ash/test/ui_controls_factory_ash.cc ('k') | ash/touch/touch_hud_debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698