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

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

Issue 2074213002: mash: Move ash_switches.* to ash/common; cleanup DEPS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix broken relative include. Created 4 years, 6 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/overview/window_selector.cc ('k') | ash/wm/panels/panel_layout_manager_unittest.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <algorithm> 5 #include <algorithm>
6 #include <vector> 6 #include <vector>
7 7
8 #include "ash/ash_switches.h"
9 #include "ash/aura/wm_window_aura.h" 8 #include "ash/aura/wm_window_aura.h"
10 #include "ash/common/accessibility_delegate.h" 9 #include "ash/common/accessibility_delegate.h"
10 #include "ash/common/ash_switches.h"
11 #include "ash/common/material_design/material_design_controller.h" 11 #include "ash/common/material_design/material_design_controller.h"
12 #include "ash/common/shell_window_ids.h" 12 #include "ash/common/shell_window_ids.h"
13 #include "ash/common/wm/mru_window_tracker.h" 13 #include "ash/common/wm/mru_window_tracker.h"
14 #include "ash/common/wm/panels/panel_layout_manager.h" 14 #include "ash/common/wm/panels/panel_layout_manager.h"
15 #include "ash/common/wm/window_state.h" 15 #include "ash/common/wm/window_state.h"
16 #include "ash/common/wm/wm_event.h" 16 #include "ash/common/wm/wm_event.h"
17 #include "ash/drag_drop/drag_drop_controller.h" 17 #include "ash/drag_drop/drag_drop_controller.h"
18 #include "ash/root_window_controller.h" 18 #include "ash/root_window_controller.h"
19 #include "ash/screen_util.h" 19 #include "ash/screen_util.h"
20 #include "ash/shelf/shelf.h" 20 #include "ash/shelf/shelf.h"
(...skipping 1796 matching lines...) Expand 10 before | Expand all | Expand 10 after
1817 bounds.y()); 1817 bounds.y());
1818 EXPECT_LE(transformed_rect.bottom(), bounds.bottom()); 1818 EXPECT_LE(transformed_rect.bottom(), bounds.bottom());
1819 EXPECT_NEAR(transformed_rect.x() - bounds.x(), 1819 EXPECT_NEAR(transformed_rect.x() - bounds.x(),
1820 bounds.right() - transformed_rect.right(), 1); 1820 bounds.right() - transformed_rect.right(), 1);
1821 EXPECT_NEAR( 1821 EXPECT_NEAR(
1822 transformed_rect.y() + (int)(scale * inset) - header_height - bounds.y(), 1822 transformed_rect.y() + (int)(scale * inset) - header_height - bounds.y(),
1823 bounds.bottom() - transformed_rect.bottom(), 1); 1823 bounds.bottom() - transformed_rect.bottom(), 1);
1824 } 1824 }
1825 1825
1826 } // namespace ash 1826 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/overview/window_selector.cc ('k') | ash/wm/panels/panel_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698