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

Unified Diff: ash/wm/power_button_controller.cc

Issue 2613493002: Fix namespace for src/ui/display/. (Closed)
Patch Set: Rebase. Created 3 years, 11 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: ash/wm/power_button_controller.cc
diff --git a/ash/wm/power_button_controller.cc b/ash/wm/power_button_controller.cc
index 8038dec9773b09ea2cff8642cdfad5d6debaad7e..648d19437a5ab82f40cb3a976839f04ba84fbfde 100644
--- a/ash/wm/power_button_controller.cc
+++ b/ash/wm/power_button_controller.cc
@@ -194,11 +194,11 @@ void PowerButtonController::OnKeyEvent(ui::KeyEvent* event) {
#if defined(OS_CHROMEOS)
void PowerButtonController::OnDisplayModeChanged(
- const ui::DisplayConfigurator::DisplayStateList& display_states) {
+ const display::DisplayConfigurator::DisplayStateList& display_states) {
bool internal_display_off = false;
bool external_display_on = false;
- for (const ui::DisplaySnapshot* display : display_states) {
- if (display->type() == ui::DISPLAY_CONNECTION_TYPE_INTERNAL) {
+ for (const display::DisplaySnapshot* display : display_states) {
+ if (display->type() == display::DISPLAY_CONNECTION_TYPE_INTERNAL) {
if (!display->current_mode())
internal_display_off = true;
} else if (display->current_mode()) {
« no previous file with comments | « ash/wm/power_button_controller.h ('k') | chrome/browser/chromeos/dbus/chrome_display_power_service_provider_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698