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

Unified Diff: apps/shell/browser/shell_desktop_controller.cc

Issue 226183004: Renamed OutputConfigurator to DisplayConfigurator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « apps/shell/browser/shell_desktop_controller.h ('k') | ash/display/display_change_observer_chromeos.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell/browser/shell_desktop_controller.cc
diff --git a/apps/shell/browser/shell_desktop_controller.cc b/apps/shell/browser/shell_desktop_controller.cc
index 373b881098d532217cd17a25fc0d659dff8381d2..7c8723b4e581b1ffd0b6f84c1506084fa861cff7 100644
--- a/apps/shell/browser/shell_desktop_controller.cc
+++ b/apps/shell/browser/shell_desktop_controller.cc
@@ -89,10 +89,10 @@ ShellDesktopController* g_instance = NULL;
ShellDesktopController::ShellDesktopController() {
#if defined(OS_CHROMEOS)
- output_configurator_.reset(new ui::OutputConfigurator);
- output_configurator_->Init(false);
- output_configurator_->ForceInitialConfigure(0);
- output_configurator_->AddObserver(this);
+ display_configurator_.reset(new ui::DisplayConfigurator);
+ display_configurator_->Init(false);
+ display_configurator_->ForceInitialConfigure(0);
+ display_configurator_->AddObserver(this);
#endif
CreateRootWindow();
@@ -141,7 +141,7 @@ aura::WindowTreeHost* ShellDesktopController::GetWindowTreeHost() {
#if defined(OS_CHROMEOS)
void ShellDesktopController::OnDisplayModeChanged(
- const std::vector<ui::OutputConfigurator::DisplayState>& outputs) {
+ const std::vector<ui::DisplayConfigurator::DisplayState>& outputs) {
gfx::Size size = GetPrimaryDisplaySize();
if (!size.IsEmpty())
wm_test_helper_->host()->UpdateRootWindowSize(size);
@@ -177,8 +177,8 @@ void ShellDesktopController::DestroyRootWindow() {
gfx::Size ShellDesktopController::GetPrimaryDisplaySize() {
#if defined(OS_CHROMEOS)
- const std::vector<ui::OutputConfigurator::DisplayState>& states =
- output_configurator_->cached_outputs();
+ const std::vector<ui::DisplayConfigurator::DisplayState>& states =
+ display_configurator_->cached_outputs();
if (states.empty())
return gfx::Size();
const ui::DisplayMode* mode = states[0].display->current_mode();
« no previous file with comments | « apps/shell/browser/shell_desktop_controller.h ('k') | ash/display/display_change_observer_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698