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

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

Issue 2889413002: chromeos: nukes window_state_aura (Closed)
Patch Set: merge, remove include from windows and shuffle functions for declaration Created 3 years, 7 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
« no previous file with comments | « ash/wm/workspace/workspace_layout_manager_unittest.cc ('k') | ash/wm/workspace_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/wm/workspace/workspace_window_resizer.h" 5 #include "ash/wm/workspace/workspace_window_resizer.h"
6 6
7 #include "ash/public/cpp/config.h" 7 #include "ash/public/cpp/config.h"
8 #include "ash/public/cpp/shell_window_ids.h" 8 #include "ash/public/cpp/shell_window_ids.h"
9 #include "ash/screen_util.h" 9 #include "ash/screen_util.h"
10 #include "ash/shelf/shelf_constants.h" 10 #include "ash/shelf/shelf_constants.h"
11 #include "ash/shelf/wm_shelf.h" 11 #include "ash/shelf/wm_shelf.h"
12 #include "ash/shell.h" 12 #include "ash/shell.h"
13 #include "ash/test/ash_test_base.h" 13 #include "ash/test/ash_test_base.h"
14 #include "ash/wm/window_positioning_utils.h" 14 #include "ash/wm/window_positioning_utils.h"
15 #include "ash/wm/window_state.h" 15 #include "ash/wm/window_state.h"
16 #include "ash/wm/window_state_aura.h"
17 #include "ash/wm/window_util.h" 16 #include "ash/wm/window_util.h"
18 #include "ash/wm/wm_event.h" 17 #include "ash/wm/wm_event.h"
19 #include "ash/wm/workspace/phantom_window_controller.h" 18 #include "ash/wm/workspace/phantom_window_controller.h"
20 #include "ash/wm/workspace_controller.h" 19 #include "ash/wm/workspace_controller.h"
21 #include "ash/wm_window.h" 20 #include "ash/wm_window.h"
22 #include "base/command_line.h" 21 #include "base/command_line.h"
23 #include "base/strings/string_number_conversions.h" 22 #include "base/strings/string_number_conversions.h"
24 #include "base/strings/stringprintf.h" 23 #include "base/strings/stringprintf.h"
25 #include "services/ui/public/interfaces/window_manager_constants.mojom.h" 24 #include "services/ui/public/interfaces/window_manager_constants.mojom.h"
26 #include "ui/aura/client/aura_constants.h" 25 #include "ui/aura/client/aura_constants.h"
(...skipping 1828 matching lines...) Expand 10 before | Expand all | Expand 10 after
1855 touch_resize_window_->bounds().ToString()); 1854 touch_resize_window_->bounds().ToString());
1856 // Drag even more to snap to the edge. 1855 // Drag even more to snap to the edge.
1857 generator.GestureScrollSequence(gfx::Point(400, kRootHeight - 40), 1856 generator.GestureScrollSequence(gfx::Point(400, kRootHeight - 40),
1858 gfx::Point(400, kRootHeight - 25), 1857 gfx::Point(400, kRootHeight - 25),
1859 base::TimeDelta::FromMilliseconds(10), 5); 1858 base::TimeDelta::FromMilliseconds(10), 5);
1860 EXPECT_EQ(gfx::Rect(100, 100, 600, kRootHeight - 100).ToString(), 1859 EXPECT_EQ(gfx::Rect(100, 100, 600, kRootHeight - 100).ToString(),
1861 touch_resize_window_->bounds().ToString()); 1860 touch_resize_window_->bounds().ToString());
1862 } 1861 }
1863 1862
1864 } // namespace ash 1863 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/workspace/workspace_layout_manager_unittest.cc ('k') | ash/wm/workspace_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698