OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_DISPLAY_DISPLAY_CONFIGURATOR_ANIMATION_H_ | 5 #ifndef ASH_DISPLAY_DISPLAY_CONFIGURATOR_ANIMATION_H_ |
6 #define ASH_DISPLAY_DISPLAY_CONFIGURATOR_ANIMATION_H_ | 6 #define ASH_DISPLAY_DISPLAY_CONFIGURATOR_ANIMATION_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
14 #include "ui/display/chromeos/display_configurator.h" | 15 #include "ui/display/chromeos/display_configurator.h" |
15 | 16 |
16 namespace aura { | 17 namespace aura { |
17 class RootWindow; | 18 class RootWindow; |
18 class Window; | 19 class Window; |
19 } // namespace aura | 20 } // namespace aura |
20 | 21 |
21 namespace ui { | 22 namespace ui { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 std::map<aura::Window*, ui::Layer*> hiding_layers_; | 59 std::map<aura::Window*, ui::Layer*> hiding_layers_; |
59 scoped_ptr<base::OneShotTimer> timer_; | 60 scoped_ptr<base::OneShotTimer> timer_; |
60 base::WeakPtrFactory<DisplayConfiguratorAnimation> weak_ptr_factory_; | 61 base::WeakPtrFactory<DisplayConfiguratorAnimation> weak_ptr_factory_; |
61 | 62 |
62 DISALLOW_COPY_AND_ASSIGN(DisplayConfiguratorAnimation); | 63 DISALLOW_COPY_AND_ASSIGN(DisplayConfiguratorAnimation); |
63 }; | 64 }; |
64 | 65 |
65 } // namespace ash | 66 } // namespace ash |
66 | 67 |
67 #endif // ASH_DISPLAY_DISPLAY_CONFIGURATION_CONTROLLER_H_ | 68 #endif // ASH_DISPLAY_DISPLAY_CONFIGURATION_CONTROLLER_H_ |
OLD | NEW |