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

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

Issue 2048443002: ABANDONED: mash: Move shell delegate interfaces to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveshelfmodel
Patch Set: 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
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/accessibility_delegate.h"
9 #include "ash/ash_switches.h" 8 #include "ash/ash_switches.h"
10 #include "ash/aura/wm_window_aura.h" 9 #include "ash/aura/wm_window_aura.h"
10 #include "ash/common/accessibility_delegate.h"
11 #include "ash/common/shell_window_ids.h" 11 #include "ash/common/shell_window_ids.h"
12 #include "ash/common/wm/panels/panel_layout_manager.h" 12 #include "ash/common/wm/panels/panel_layout_manager.h"
13 #include "ash/common/wm/window_state.h" 13 #include "ash/common/wm/window_state.h"
14 #include "ash/common/wm/wm_event.h" 14 #include "ash/common/wm/wm_event.h"
15 #include "ash/drag_drop/drag_drop_controller.h" 15 #include "ash/drag_drop/drag_drop_controller.h"
16 #include "ash/root_window_controller.h" 16 #include "ash/root_window_controller.h"
17 #include "ash/screen_util.h" 17 #include "ash/screen_util.h"
18 #include "ash/shelf/shelf.h" 18 #include "ash/shelf/shelf.h"
19 #include "ash/shelf/shelf_widget.h" 19 #include "ash/shelf/shelf_widget.h"
20 #include "ash/shell.h" 20 #include "ash/shell.h"
(...skipping 1708 matching lines...) Expand 10 before | Expand all | Expand 10 after
1729 bounds.y()); 1729 bounds.y());
1730 EXPECT_LE(transformed_rect.bottom(), bounds.bottom()); 1730 EXPECT_LE(transformed_rect.bottom(), bounds.bottom());
1731 EXPECT_NEAR(transformed_rect.x() - bounds.x(), 1731 EXPECT_NEAR(transformed_rect.x() - bounds.x(),
1732 bounds.right() - transformed_rect.right(), 1); 1732 bounds.right() - transformed_rect.right(), 1);
1733 EXPECT_NEAR( 1733 EXPECT_NEAR(
1734 transformed_rect.y() + (int)(scale * inset) - header_height - bounds.y(), 1734 transformed_rect.y() + (int)(scale * inset) - header_height - bounds.y(),
1735 bounds.bottom() - transformed_rect.bottom(), 1); 1735 bounds.bottom() - transformed_rect.bottom(), 1);
1736 } 1736 }
1737 1737
1738 } // namespace ash 1738 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698