| Index: ash/display/root_window_transformers_unittest.cc
|
| diff --git a/ash/display/root_window_transformers_unittest.cc b/ash/display/root_window_transformers_unittest.cc
|
| index 06fe95c98910ea412ce2eeb5f370bfbfc984b79b..2c0919bd2e090e64af75f07e0c856ffe35daeadd 100644
|
| --- a/ash/display/root_window_transformers_unittest.cc
|
| +++ b/ash/display/root_window_transformers_unittest.cc
|
| @@ -34,7 +34,7 @@
|
| namespace ash {
|
| namespace {
|
|
|
| -const char kDesktopBackgroundView[] = "DesktopBackgroundView";
|
| +const char kWallpaperView[] = "WallpaperView";
|
|
|
| class TestEventHandler : public ui::EventHandler {
|
| public:
|
| @@ -59,9 +59,9 @@ class TestEventHandler : public ui::EventHandler {
|
|
|
| void OnTouchEvent(ui::TouchEvent* event) override {
|
| aura::Window* target = static_cast<aura::Window*>(event->target());
|
| - // Only record when the target is the background which covers
|
| - // entire root window.
|
| - if (target->name() != kDesktopBackgroundView)
|
| + // Only record when the target is the wallpaper, which covers the entire
|
| + // root window.
|
| + if (target->name() != kWallpaperView)
|
| return;
|
| touch_radius_x_ = event->pointer_details().radius_x;
|
| touch_radius_y_ = event->pointer_details().radius_y;
|
| @@ -70,9 +70,9 @@ class TestEventHandler : public ui::EventHandler {
|
|
|
| void OnScrollEvent(ui::ScrollEvent* event) override {
|
| aura::Window* target = static_cast<aura::Window*>(event->target());
|
| - // Only record when the target is the background which covers
|
| - // entire root window.
|
| - if (target->name() != kDesktopBackgroundView)
|
| + // Only record when the target is the wallpaper, which covers the entire
|
| + // root window.
|
| + if (target->name() != kWallpaperView)
|
| return;
|
|
|
| if (event->type() == ui::ET_SCROLL) {
|
|
|