| OLD | NEW | 
|     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> | 
| (...skipping 13 matching lines...) Expand all  Loading... | 
|    24 #include "base/memory/ref_counted.h" |    24 #include "base/memory/ref_counted.h" | 
|    25 #include "base/strings/string_number_conversions.h" |    25 #include "base/strings/string_number_conversions.h" | 
|    26 #include "base/values.h" |    26 #include "base/values.h" | 
|    27 #include "chrome/browser/chromeos/display/display_configuration_observer.h" |    27 #include "chrome/browser/chromeos/display/display_configuration_observer.h" | 
|    28 #include "chrome/browser/chromeos/login/users/mock_user_manager.h" |    28 #include "chrome/browser/chromeos/login/users/mock_user_manager.h" | 
|    29 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h" |    29 #include "chrome/browser/chromeos/login/users/scoped_user_manager_enabler.h" | 
|    30 #include "chrome/common/pref_names.h" |    30 #include "chrome/common/pref_names.h" | 
|    31 #include "chrome/test/base/testing_browser_process.h" |    31 #include "chrome/test/base/testing_browser_process.h" | 
|    32 #include "components/prefs/scoped_user_pref_update.h" |    32 #include "components/prefs/scoped_user_pref_update.h" | 
|    33 #include "components/prefs/testing_pref_service.h" |    33 #include "components/prefs/testing_pref_service.h" | 
|    34 #include "ui/display/chromeos/display_configurator.h" |    34 #include "ui/display/display_layout_builder.h" | 
|    35 #include "ui/display/manager/display_layout_builder.h" |    35 #include "ui/display/manager/chromeos/display_configurator.h" | 
|    36 #include "ui/display/manager/display_layout_store.h" |    36 #include "ui/display/manager/display_layout_store.h" | 
|    37 #include "ui/display/manager/display_manager.h" |    37 #include "ui/display/manager/display_manager.h" | 
|    38 #include "ui/display/manager/display_manager_utilities.h" |    38 #include "ui/display/manager/display_manager_utilities.h" | 
|    39 #include "ui/display/screen.h" |    39 #include "ui/display/screen.h" | 
|    40 #include "ui/display/test/display_manager_test_api.h" |    40 #include "ui/display/test/display_manager_test_api.h" | 
|    41 #include "ui/gfx/geometry/vector3d_f.h" |    41 #include "ui/gfx/geometry/vector3d_f.h" | 
|    42 #include "ui/message_center/message_center.h" |    42 #include "ui/message_center/message_center.h" | 
|    43  |    43  | 
|    44 using ash::ResolutionNotificationController; |    44 using ash::ResolutionNotificationController; | 
|    45  |    45  | 
| (...skipping 1072 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1118  |  1118  | 
|  1119   EXPECT_EQ(gfx::Rect(0, 0, 200, 200), |  1119   EXPECT_EQ(gfx::Rect(0, 0, 200, 200), | 
|  1120             display_manager()->GetDisplayForId(list[0]).bounds()); |  1120             display_manager()->GetDisplayForId(list[0]).bounds()); | 
|  1121   EXPECT_EQ(gfx::Rect(-200, 0, 200, 200), |  1121   EXPECT_EQ(gfx::Rect(-200, 0, 200, 200), | 
|  1122             display_manager()->GetDisplayForId(list[1]).bounds()); |  1122             display_manager()->GetDisplayForId(list[1]).bounds()); | 
|  1123   EXPECT_EQ(gfx::Rect(-100, 200, 300, 300), |  1123   EXPECT_EQ(gfx::Rect(-100, 200, 300, 300), | 
|  1124             display_manager()->GetDisplayForId(list[2]).bounds()); |  1124             display_manager()->GetDisplayForId(list[2]).bounds()); | 
|  1125 } |  1125 } | 
|  1126  |  1126  | 
|  1127 }  // namespace chromeos |  1127 }  // namespace chromeos | 
| OLD | NEW |