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