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

Side by Side Diff: chrome/browser/chromeos/display/display_preferences_unittest.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 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 "chrome/browser/chromeos/display/display_preferences.h" 5 #include "chrome/browser/chromeos/display/display_preferences.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "ash/display/display_util.h" 13 #include "ash/display/display_util.h"
14 #include "ash/display/resolution_notification_controller.h" 14 #include "ash/display/resolution_notification_controller.h"
15 #include "ash/display/screen_orientation_controller_chromeos.h" 15 #include "ash/display/screen_orientation_controller_chromeos.h"
16 #include "ash/display/window_tree_host_manager.h" 16 #include "ash/display/window_tree_host_manager.h"
17 #include "ash/shell.h" 17 #include "ash/shell.h"
18 #include "ash/test/ash_test_base.h" 18 #include "ash/test/ash_test_base.h"
19 #include "ash/wm/maximize_mode/maximize_mode_controller.h" 19 #include "ash/wm/maximize_mode/maximize_mode_controller.h"
20 #include "ash/wm_shell.h"
21 #include "base/macros.h" 20 #include "base/macros.h"
22 #include "base/memory/ptr_util.h" 21 #include "base/memory/ptr_util.h"
23 #include "base/memory/ref_counted.h" 22 #include "base/memory/ref_counted.h"
24 #include "base/strings/string_number_conversions.h" 23 #include "base/strings/string_number_conversions.h"
25 #include "base/values.h" 24 #include "base/values.h"
26 #include "chrome/browser/chromeos/display/display_configuration_observer.h" 25 #include "chrome/browser/chromeos/display/display_configuration_observer.h"
27 #include "chrome/browser/chromeos/login/users/mock_user_manager.h" 26 #include "chrome/browser/chromeos/login/users/mock_user_manager.h"
28 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h" 27 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h"
29 #include "chrome/common/pref_names.h" 28 #include "chrome/common/pref_names.h"
30 #include "chrome/test/base/testing_browser_process.h" 29 #include "chrome/test/base/testing_browser_process.h"
(...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after
1151 1150
1152 EXPECT_EQ(gfx::Rect(0, 0, 200, 200), 1151 EXPECT_EQ(gfx::Rect(0, 0, 200, 200),
1153 display_manager()->GetDisplayForId(list[0]).bounds()); 1152 display_manager()->GetDisplayForId(list[0]).bounds());
1154 EXPECT_EQ(gfx::Rect(-200, 0, 200, 200), 1153 EXPECT_EQ(gfx::Rect(-200, 0, 200, 200),
1155 display_manager()->GetDisplayForId(list[1]).bounds()); 1154 display_manager()->GetDisplayForId(list[1]).bounds());
1156 EXPECT_EQ(gfx::Rect(-100, 200, 300, 300), 1155 EXPECT_EQ(gfx::Rect(-100, 200, 300, 300),
1157 display_manager()->GetDisplayForId(list[2]).bounds()); 1156 display_manager()->GetDisplayForId(list[2]).bounds());
1158 } 1157 }
1159 1158
1160 } // namespace chromeos 1159 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698