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

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

Issue 2222653002: Moves CustomFrameViewAsh to common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 4 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/common/wm/workspace/multi_window_resize_controller.h"
6 6
7 #include "ash/aura/wm_window_aura.h" 7 #include "ash/aura/wm_window_aura.h"
8 #include "ash/common/ash_constants.h" 8 #include "ash/common/ash_constants.h"
9 #include "ash/frame/custom_frame_view_ash.h" 9 #include "ash/common/frame/custom_frame_view_ash.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
11 #include "ash/test/ash_test_base.h" 11 #include "ash/test/ash_test_base.h"
12 #include "ash/test/shell_test_api.h" 12 #include "ash/test/shell_test_api.h"
13 #include "ash/wm/window_util.h" 13 #include "ash/wm/window_util.h"
14 #include "ash/wm/workspace/workspace_event_handler_test_helper.h" 14 #include "ash/wm/workspace/workspace_event_handler_test_helper.h"
15 #include "ash/wm/workspace_controller.h" 15 #include "ash/wm/workspace_controller.h"
16 #include "ash/wm/workspace_controller_test_helper.h" 16 #include "ash/wm/workspace_controller_test_helper.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"
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 354
355 // Clicking outside the resize handle should immediately hide the resize 355 // Clicking outside the resize handle should immediately hide the resize
356 // handle. 356 // handle.
357 EXPECT_FALSE(resize_widget_bounds_in_screen.Contains(w1_center_in_screen)); 357 EXPECT_FALSE(resize_widget_bounds_in_screen.Contains(w1_center_in_screen));
358 generator.MoveMouseTo(w1_center_in_screen); 358 generator.MoveMouseTo(w1_center_in_screen);
359 generator.ClickLeftButton(); 359 generator.ClickLeftButton();
360 EXPECT_FALSE(IsShowing()); 360 EXPECT_FALSE(IsShowing());
361 } 361 }
362 362
363 } // namespace ash 363 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/resize_shadow_and_cursor_unittest.cc ('k') | chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698