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

Side by Side Diff: ash/wm/workspace/multi_window_resize_controller_unittest.cc

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/common/wm/workspace/multi_window_resize_controller.h" 5 #include "ash/wm/workspace/multi_window_resize_controller.h"
6 6
7 #include "ash/common/ash_constants.h" 7 #include "ash/ash_constants.h"
8 #include "ash/common/frame/custom_frame_view_ash.h" 8 #include "ash/frame/custom_frame_view_ash.h"
9 #include "ash/common/test/workspace_event_handler_test_helper.h"
10 #include "ash/common/wm/workspace_controller.h"
11 #include "ash/common/wm_window.h"
12 #include "ash/shell.h" 9 #include "ash/shell.h"
13 #include "ash/test/ash_test_base.h" 10 #include "ash/test/ash_test_base.h"
14 #include "ash/test/shell_test_api.h" 11 #include "ash/test/shell_test_api.h"
12 #include "ash/test/workspace_event_handler_test_helper.h"
15 #include "ash/wm/window_util.h" 13 #include "ash/wm/window_util.h"
14 #include "ash/wm/workspace_controller.h"
16 #include "ash/wm/workspace_controller_test_helper.h" 15 #include "ash/wm/workspace_controller_test_helper.h"
16 #include "ash/wm_window.h"
17 #include "base/stl_util.h" 17 #include "base/stl_util.h"
18 #include "ui/aura/test/test_window_delegate.h" 18 #include "ui/aura/test/test_window_delegate.h"
19 #include "ui/aura/window.h" 19 #include "ui/aura/window.h"
20 #include "ui/base/hit_test.h" 20 #include "ui/base/hit_test.h"
21 #include "ui/events/test/event_generator.h" 21 #include "ui/events/test/event_generator.h"
22 #include "ui/views/widget/widget.h" 22 #include "ui/views/widget/widget.h"
23 #include "ui/views/widget/widget_delegate.h" 23 #include "ui/views/widget/widget_delegate.h"
24 24
25 namespace ash { 25 namespace ash {
26 26
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 355
356 // Clicking outside the resize handle should immediately hide the resize 356 // Clicking outside the resize handle should immediately hide the resize
357 // handle. 357 // handle.
358 EXPECT_FALSE(resize_widget_bounds_in_screen.Contains(w1_center_in_screen)); 358 EXPECT_FALSE(resize_widget_bounds_in_screen.Contains(w1_center_in_screen));
359 generator.MoveMouseTo(w1_center_in_screen); 359 generator.MoveMouseTo(w1_center_in_screen);
360 generator.ClickLeftButton(); 360 generator.ClickLeftButton();
361 EXPECT_FALSE(IsShowing()); 361 EXPECT_FALSE(IsShowing());
362 } 362 }
363 363
364 } // namespace ash 364 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/workspace/multi_window_resize_controller.cc ('k') | ash/wm/workspace/phantom_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698