Chromium Code Reviews| 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 #ifndef ASH_WM_SCREEN_DIMMER_H_ | 5 #ifndef ASH_WM_SCREEN_DIMMER_H_ |
| 6 #define ASH_WM_SCREEN_DIMMER_H_ | 6 #define ASH_WM_SCREEN_DIMMER_H_ |
| 7 | 7 |
| 8 #include <memory> | |
|
oshima
2016/04/08 07:09:42
remove this?
| |
| 9 | |
| 8 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| 9 #include "ash/shell_observer.h" | 11 #include "ash/shell_observer.h" |
| 10 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" | 13 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | |
| 13 #include "ui/aura/window_observer.h" | 14 #include "ui/aura/window_observer.h" |
| 14 | 15 |
| 15 namespace ui { | 16 namespace ui { |
| 16 class Layer; | 17 class Layer; |
| 17 } | 18 } |
| 18 | 19 |
| 19 namespace ash { | 20 namespace ash { |
| 20 class DimWindow; | 21 class DimWindow; |
| 21 | 22 |
| 22 // ScreenDimmer displays a partially-opaque layer above everything | 23 // ScreenDimmer displays a partially-opaque layer above everything |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 66 // Are we currently dimming the screen? | 67 // Are we currently dimming the screen? |
| 67 bool is_dimming_; | 68 bool is_dimming_; |
| 68 bool at_bottom_; | 69 bool at_bottom_; |
| 69 | 70 |
| 70 DISALLOW_COPY_AND_ASSIGN(ScreenDimmer); | 71 DISALLOW_COPY_AND_ASSIGN(ScreenDimmer); |
| 71 }; | 72 }; |
| 72 | 73 |
| 73 } // namespace ash | 74 } // namespace ash |
| 74 | 75 |
| 75 #endif // ASH_WM_SCREEN_DIMMER_H_ | 76 #endif // ASH_WM_SCREEN_DIMMER_H_ |
| OLD | NEW |