| 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 UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ | 5 #ifndef UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ |
| 6 #define UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ | 6 #define UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 // propagate them. | 155 // propagate them. |
| 156 ScopedVector<DisplaySnapshot> cached_outputs_; | 156 ScopedVector<DisplaySnapshot> cached_outputs_; |
| 157 | 157 |
| 158 scoped_ptr<HelperDelegate> helper_delegate_; | 158 scoped_ptr<HelperDelegate> helper_delegate_; |
| 159 | 159 |
| 160 // Processes X11 display events associated with the root window and notifies | 160 // Processes X11 display events associated with the root window and notifies |
| 161 // |observers_| when a display change has occurred. | 161 // |observers_| when a display change has occurred. |
| 162 scoped_ptr<NativeDisplayEventDispatcherX11> platform_event_dispatcher_; | 162 scoped_ptr<NativeDisplayEventDispatcherX11> platform_event_dispatcher_; |
| 163 | 163 |
| 164 // List of observers waiting for display configuration change events. | 164 // List of observers waiting for display configuration change events. |
| 165 ObserverList<NativeDisplayObserver> observers_; | 165 base::ObserverList<NativeDisplayObserver> observers_; |
| 166 | 166 |
| 167 // A background color used during boot time + multi displays. | 167 // A background color used during boot time + multi displays. |
| 168 uint32_t background_color_argb_; | 168 uint32_t background_color_argb_; |
| 169 | 169 |
| 170 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateX11); | 170 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateX11); |
| 171 }; | 171 }; |
| 172 | 172 |
| 173 } // namespace ui | 173 } // namespace ui |
| 174 | 174 |
| 175 #endif // UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ | 175 #endif // UI_DISPLAY_CHROMEOS_X11_NATIVE_DISPLAY_DELEGATE_X11_H_ |
| OLD | NEW |