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

Side by Side Diff: ash/wm/power_button_controller.cc

Issue 10546024: Add RootWindowController (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
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 "ash/wm/power_button_controller.h" 5 #include "ash/wm/power_button_controller.h"
6 6
7 #include "ash/ash_switches.h" 7 #include "ash/ash_switches.h"
8 #include "ash/root_window_controller.h"
Daniel Erat 2012/06/13 01:36:28 do you still need this?
oshima 2012/06/13 05:52:37 removed
8 #include "ash/shell.h" 9 #include "ash/shell.h"
9 #include "ash/shell_window_ids.h" 10 #include "ash/shell_window_ids.h"
10 #include "base/command_line.h" 11 #include "base/command_line.h"
11 #include "base/logging.h" 12 #include "base/logging.h"
12 #include "base/time.h" 13 #include "base/time.h"
13 #include "third_party/skia/include/core/SkColor.h" 14 #include "third_party/skia/include/core/SkColor.h"
14 #include "ui/aura/cursor_manager.h" 15 #include "ui/aura/cursor_manager.h"
15 #include "ui/aura/env.h" 16 #include "ui/aura/env.h"
16 #include "ui/aura/root_window.h" 17 #include "ui/aura/root_window.h"
17 #include "ui/aura/shared/compound_event_filter.h" 18 #include "ui/aura/shared/compound_event_filter.h"
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 root_layer->StackAtBottom(background_layer_.get()); 573 root_layer->StackAtBottom(background_layer_.get());
573 } 574 }
574 background_layer_->SetVisible(true); 575 background_layer_->SetVisible(true);
575 } 576 }
576 577
577 void PowerButtonController::HideBackgroundLayer() { 578 void PowerButtonController::HideBackgroundLayer() {
578 background_layer_.reset(); 579 background_layer_.reset();
579 } 580 }
580 581
581 } // namespace ash 582 } // namespace ash
OLDNEW
« ash/shell.cc ('K') | « ash/wm/app_list_controller.cc ('k') | ash/wm/property_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698