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 #pragma once | |
8 | 7 |
9 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
10 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "ui/aura/root_window_observer.h" | 12 #include "ui/aura/root_window_observer.h" |
14 | 13 |
15 namespace aura { | 14 namespace aura { |
16 class RootWindow; | 15 class RootWindow; |
17 } | 16 } |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 // Are we currently dimming the screen? | 65 // Are we currently dimming the screen? |
67 bool currently_dimming_; | 66 bool currently_dimming_; |
68 | 67 |
69 DISALLOW_COPY_AND_ASSIGN(ScreenDimmer); | 68 DISALLOW_COPY_AND_ASSIGN(ScreenDimmer); |
70 }; | 69 }; |
71 | 70 |
72 } // namespace internal | 71 } // namespace internal |
73 } // namespace ash | 72 } // namespace ash |
74 | 73 |
75 #endif // ASH_WM_SCREEN_DIMMER_H_ | 74 #endif // ASH_WM_SCREEN_DIMMER_H_ |
OLD | NEW |