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 "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 Loading... | |
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 |
OLD | NEW |