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

Unified Diff: chrome/browser/chromeos/display/display_preferences_unittest.cc

Issue 226183004: Renamed OutputConfigurator to DisplayConfigurator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/display/display_preferences_unittest.cc
diff --git a/chrome/browser/chromeos/display/display_preferences_unittest.cc b/chrome/browser/chromeos/display/display_preferences_unittest.cc
index 006626302f302b4df8b082df7f0e05ff755624a8..e546a6e787479ac2bdc6eceef6e249212ebbc48c 100644
--- a/chrome/browser/chromeos/display/display_preferences_unittest.cc
+++ b/chrome/browser/chromeos/display/display_preferences_unittest.cc
@@ -21,7 +21,7 @@
#include "chrome/browser/chromeos/login/user_manager.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/testing_browser_process.h"
-#include "ui/display/chromeos/output_configurator.h"
+#include "ui/display/chromeos/display_configurator.h"
#include "ui/message_center/message_center.h"
using ash::ResolutionNotificationController;
@@ -175,7 +175,7 @@ TEST_F(DisplayPreferencesTest, PairedLayoutOverrides) {
LoadDisplayPreferences(true);
// DisplayPowerState should be ignored at boot.
EXPECT_EQ(chromeos::DISPLAY_POWER_ALL_ON,
- shell->output_configurator()->power_state());
+ shell->display_configurator()->power_state());
shell->display_manager()->UpdateDisplays();
// Check if the layout settings are notified to the system properly.
@@ -593,9 +593,8 @@ TEST_F(DisplayPreferencesTest, DisplayPowerStateAfterRestart) {
StoreDisplayPowerStateForTest(
chromeos::DISPLAY_POWER_INTERNAL_OFF_EXTERNAL_ON);
LoadDisplayPreferences(false);
- EXPECT_EQ(
- chromeos::DISPLAY_POWER_INTERNAL_OFF_EXTERNAL_ON,
- ash::Shell::GetInstance()->output_configurator()->power_state());
+ EXPECT_EQ(chromeos::DISPLAY_POWER_INTERNAL_OFF_EXTERNAL_ON,
+ ash::Shell::GetInstance()->display_configurator()->power_state());
}
TEST_F(DisplayPreferencesTest, DontSaveAndRestoreAllOff) {
@@ -605,12 +604,12 @@ TEST_F(DisplayPreferencesTest, DontSaveAndRestoreAllOff) {
LoadDisplayPreferences(false);
// DisplayPowerState should be ignored at boot.
EXPECT_EQ(chromeos::DISPLAY_POWER_INTERNAL_OFF_EXTERNAL_ON,
- shell->output_configurator()->power_state());
+ shell->display_configurator()->power_state());
StoreDisplayPowerStateForTest(
chromeos::DISPLAY_POWER_ALL_OFF);
EXPECT_EQ(chromeos::DISPLAY_POWER_INTERNAL_OFF_EXTERNAL_ON,
- shell->output_configurator()->power_state());
+ shell->display_configurator()->power_state());
EXPECT_EQ("internal_off_external_on",
local_state()->GetString(prefs::kDisplayPowerState));
@@ -618,7 +617,7 @@ TEST_F(DisplayPreferencesTest, DontSaveAndRestoreAllOff) {
local_state()->SetString(prefs::kDisplayPowerState, "all_off");
LoadDisplayPreferences(false);
EXPECT_EQ(chromeos::DISPLAY_POWER_INTERNAL_OFF_EXTERNAL_ON,
- shell->output_configurator()->power_state());
+ shell->display_configurator()->power_state());
}
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698