Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Side by Side Diff: ui/display/chromeos/x11/native_display_delegate_x11.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/display/chromeos/display_configurator.h ('k') | ui/events/devices/device_data_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ui/display/chromeos/display_configurator.h ('k') | ui/events/devices/device_data_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698