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

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

Issue 2430593002: mash: Use ash shell window container ids instead of ash::mojom::Container (Closed)
Patch Set: rebase Created 4 years, 2 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/workspace_window_resizer.h" 5 #include "ash/common/wm/workspace/workspace_window_resizer.h"
6 6
7 #include "ash/aura/wm_window_aura.h" 7 #include "ash/aura/wm_window_aura.h"
8 #include "ash/common/shelf/shelf_constants.h" 8 #include "ash/common/shelf/shelf_constants.h"
9 #include "ash/common/shelf/wm_shelf.h" 9 #include "ash/common/shelf/wm_shelf.h"
10 #include "ash/common/shell_window_ids.h"
11 #include "ash/common/wm/window_positioning_utils.h" 10 #include "ash/common/wm/window_positioning_utils.h"
12 #include "ash/common/wm/window_state.h" 11 #include "ash/common/wm/window_state.h"
13 #include "ash/common/wm/wm_event.h" 12 #include "ash/common/wm/wm_event.h"
14 #include "ash/common/wm/workspace/phantom_window_controller.h" 13 #include "ash/common/wm/workspace/phantom_window_controller.h"
15 #include "ash/common/wm/workspace_controller.h" 14 #include "ash/common/wm/workspace_controller.h"
16 #include "ash/display/display_manager.h" 15 #include "ash/display/display_manager.h"
16 #include "ash/public/cpp/shell_window_ids.h"
17 #include "ash/screen_util.h" 17 #include "ash/screen_util.h"
18 #include "ash/shell.h" 18 #include "ash/shell.h"
19 #include "ash/test/ash_md_test_base.h" 19 #include "ash/test/ash_md_test_base.h"
20 #include "ash/test/display_manager_test_api.h" 20 #include "ash/test/display_manager_test_api.h"
21 #include "ash/wm/window_state_aura.h" 21 #include "ash/wm/window_state_aura.h"
22 #include "ash/wm/window_util.h" 22 #include "ash/wm/window_util.h"
23 #include "base/command_line.h" 23 #include "base/command_line.h"
24 #include "base/strings/string_number_conversions.h" 24 #include "base/strings/string_number_conversions.h"
25 #include "base/strings/stringprintf.h" 25 #include "base/strings/stringprintf.h"
26 #include "ui/aura/client/aura_constants.h" 26 #include "ui/aura/client/aura_constants.h"
(...skipping 1854 matching lines...) Expand 10 before | Expand all | Expand 10 after
1881 touch_resize_window_->bounds().ToString()); 1881 touch_resize_window_->bounds().ToString());
1882 // Drag even more to snap to the edge. 1882 // Drag even more to snap to the edge.
1883 generator.GestureScrollSequence(gfx::Point(400, kRootHeight - 40), 1883 generator.GestureScrollSequence(gfx::Point(400, kRootHeight - 40),
1884 gfx::Point(400, kRootHeight - 25), 1884 gfx::Point(400, kRootHeight - 25),
1885 base::TimeDelta::FromMilliseconds(10), 5); 1885 base::TimeDelta::FromMilliseconds(10), 5);
1886 EXPECT_EQ(gfx::Rect(100, 100, 600, kRootHeight - 100).ToString(), 1886 EXPECT_EQ(gfx::Rect(100, 100, 600, kRootHeight - 100).ToString(),
1887 touch_resize_window_->bounds().ToString()); 1887 touch_resize_window_->bounds().ToString());
1888 } 1888 }
1889 1889
1890 } // namespace ash 1890 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/workspace/workspace_layout_manager_unittest.cc ('k') | ash/wm/workspace_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698