| 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> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "ash/ash_export.h" | 11 #include "ash/ash_export.h" |
| 12 #include "ash/common/shell_observer.h" | 12 #include "ash/shell_observer.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 | 14 |
| 15 namespace ash { | 15 namespace ash { |
| 16 namespace test { | 16 namespace test { |
| 17 class ScreenDimmerTest; | 17 class ScreenDimmerTest; |
| 18 } | 18 } |
| 19 | 19 |
| 20 class WindowDimmer; | 20 class WindowDimmer; |
| 21 | 21 |
| 22 template <typename UserData> | 22 template <typename UserData> |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 // Owns the WindowDimmers. | 72 // Owns the WindowDimmers. |
| 73 std::unique_ptr<WmWindowUserData<WindowDimmer>> window_dimmers_; | 73 std::unique_ptr<WmWindowUserData<WindowDimmer>> window_dimmers_; |
| 74 | 74 |
| 75 DISALLOW_COPY_AND_ASSIGN(ScreenDimmer); | 75 DISALLOW_COPY_AND_ASSIGN(ScreenDimmer); |
| 76 }; | 76 }; |
| 77 | 77 |
| 78 } // namespace ash | 78 } // namespace ash |
| 79 | 79 |
| 80 #endif // ASH_WM_SCREEN_DIMMER_H_ | 80 #endif // ASH_WM_SCREEN_DIMMER_H_ |
| OLD | NEW |