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_PROJECTING_OBSERVER_CHROMEOS_H_ | 5 #ifndef ASH_DISPLAY_PROJECTING_OBSERVER_CHROMEOS_H_ |
6 #define ASH_DISPLAY_PROJECTING_OBSERVER_CHROMEOS_H_ | 6 #define ASH_DISPLAY_PROJECTING_OBSERVER_CHROMEOS_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/shell_observer.h" | 9 #include "ash/shell_observer.h" |
| 10 #include "base/macros.h" |
10 #include "ui/display/chromeos/display_configurator.h" | 11 #include "ui/display/chromeos/display_configurator.h" |
11 | 12 |
12 namespace chromeos { | 13 namespace chromeos { |
13 class PowerManagerClient; | 14 class PowerManagerClient; |
14 } | 15 } |
15 | 16 |
16 namespace ash { | 17 namespace ash { |
17 | 18 |
18 class ASH_EXPORT ProjectingObserver : public ui::DisplayConfigurator::Observer, | 19 class ASH_EXPORT ProjectingObserver : public ui::DisplayConfigurator::Observer, |
19 public ShellObserver { | 20 public ShellObserver { |
(...skipping 26 matching lines...) Expand all Loading... |
46 | 47 |
47 // Weak pointer to the DBusClient PowerManagerClient; | 48 // Weak pointer to the DBusClient PowerManagerClient; |
48 chromeos::PowerManagerClient* power_manager_client_; | 49 chromeos::PowerManagerClient* power_manager_client_; |
49 | 50 |
50 DISALLOW_COPY_AND_ASSIGN(ProjectingObserver); | 51 DISALLOW_COPY_AND_ASSIGN(ProjectingObserver); |
51 }; | 52 }; |
52 | 53 |
53 } // namespace ash | 54 } // namespace ash |
54 | 55 |
55 #endif // ASH_DISPLAY_PROJECTING_OBSERVER_CHROMEOS_H_ | 56 #endif // ASH_DISPLAY_PROJECTING_OBSERVER_CHROMEOS_H_ |
OLD | NEW |