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

Side by Side Diff: ash/wm/overview/cleanup_animation_observer_unittest.cc

Issue 2734733002: Revert "chromeos: Move files in //ash/common to //ash, part 3" (Closed)
Patch Set: Created 3 years, 9 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "ash/wm/overview/cleanup_animation_observer.h" 5 #include "ash/wm/overview/cleanup_animation_observer.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "ash/common/wm_window.h"
9 #include "ash/test/ash_test_base.h" 10 #include "ash/test/ash_test_base.h"
10 #include "ash/wm/overview/window_selector_delegate.h" 11 #include "ash/wm/overview/window_selector_delegate.h"
11 #include "ash/wm_window.h"
12 #include "ui/compositor/layer_animation_observer.h" 12 #include "ui/compositor/layer_animation_observer.h"
13 #include "ui/compositor/scoped_animation_duration_scale_mode.h" 13 #include "ui/compositor/scoped_animation_duration_scale_mode.h"
14 #include "ui/compositor/scoped_layer_animation_settings.h" 14 #include "ui/compositor/scoped_layer_animation_settings.h"
15 #include "ui/gfx/geometry/rect.h" 15 #include "ui/gfx/geometry/rect.h"
16 #include "ui/views/widget/widget.h" 16 #include "ui/views/widget/widget.h"
17 #include "ui/views/widget/widget_observer.h" 17 #include "ui/views/widget/widget_observer.h"
18 18
19 namespace ash { 19 namespace ash {
20 namespace { 20 namespace {
21 21
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 widget_window->SetBounds(gfx::Rect(50, 50, 60, 60)); 176 widget_window->SetBounds(gfx::Rect(50, 50, 60, 60));
177 } 177 }
178 // The widget still exists. 178 // The widget still exists.
179 EXPECT_FALSE(widget_destroyed()); 179 EXPECT_FALSE(widget_destroyed());
180 // The test widget is auto-deleted when |delegate| that owns it goes out of 180 // The test widget is auto-deleted when |delegate| that owns it goes out of
181 // scope. The animation is still active when this happens which should not 181 // scope. The animation is still active when this happens which should not
182 // crash. 182 // crash.
183 } 183 }
184 184
185 } // namespace ash 185 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/overlay_event_filter.h ('k') | ash/wm/overview/scoped_overview_animation_settings_factory_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698