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

Unified Diff: ash/touch/touch_observer_hud_unittest.cc

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: Use unique_ptr; add descriptions 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_observer_hud_unittest.cc
diff --git a/ash/touch/touch_observer_hud_unittest.cc b/ash/touch/touch_observer_hud_unittest.cc
index 7eec15c0cd94e33a3c9c926b92f37d94b029fd4b..de288b089321d84f1b5438fe55e770a0ce480d61 100644
--- a/ash/touch/touch_observer_hud_unittest.cc
+++ b/ash/touch/touch_observer_hud_unittest.cc
@@ -17,6 +17,7 @@
#include "base/format_macros.h"
#include "base/strings/stringprintf.h"
#include "ui/aura/window.h"
+#include "ui/views/controls/touch/touch_hud_drawer.h"
#include "ui/views/widget/widget.h"
namespace ash {
@@ -283,7 +284,7 @@ class TouchHudProjectionTest : public TouchHudTestBase {
}
int GetInternalTouchPointsCount() {
- return GetInternalTouchHudProjection()->points_.size();
+ return GetInternalTouchHudProjection()->touch_hud_drawer_->points_.size();
}
void SendTouchEventToInternalHud(ui::EventType type,

Powered by Google App Engine
This is Rietveld 408576698