| 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 CHROMEOS_DISPLAY_NATIVE_DISPLAY_OBSERVER_H_ | 5 #ifndef UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_OBSERVER_H_ |
| 6 #define CHROMEOS_DISPLAY_NATIVE_DISPLAY_OBSERVER_H_ | 6 #define UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_OBSERVER_H_ |
| 7 | 7 |
| 8 namespace chromeos { | 8 namespace ui { |
| 9 | 9 |
| 10 // Observer class used by NativeDisplayDelegate to announce when the display | 10 // Observer class used by NativeDisplayDelegate to announce when the display |
| 11 // configuration changes. | 11 // configuration changes. |
| 12 class NativeDisplayObserver { | 12 class NativeDisplayObserver { |
| 13 public: | 13 public: |
| 14 virtual ~NativeDisplayObserver() {} | 14 virtual ~NativeDisplayObserver() {} |
| 15 | 15 |
| 16 virtual void OnConfigurationChanged() = 0; | 16 virtual void OnConfigurationChanged() = 0; |
| 17 }; | 17 }; |
| 18 | 18 |
| 19 } // namespace chromeos | 19 } // namespace ui |
| 20 | 20 |
| 21 #endif // CHROMEOS_DISPLAY_NATIVE_DISPLAY_OBSERVER_H_ | 21 #endif // UI_DISPLAY_CHROMEOS_NATIVE_DISPLAY_OBSERVER_H_ |
| OLD | NEW |