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

Side by Side Diff: ui/native_theme/native_theme.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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_NATIVE_THEME_NATIVE_THEME_H_ 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_H_ 6 #define UI_NATIVE_THEME_NATIVE_THEME_H_
7 7
8 #include "base/observer_list.h" 8 #include "base/observer_list.h"
9 #include "third_party/skia/include/core/SkColor.h" 9 #include "third_party/skia/include/core/SkColor.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 protected: 353 protected:
354 NativeTheme(); 354 NativeTheme();
355 virtual ~NativeTheme(); 355 virtual ~NativeTheme();
356 356
357 unsigned int thumb_inactive_color_; 357 unsigned int thumb_inactive_color_;
358 unsigned int thumb_active_color_; 358 unsigned int thumb_active_color_;
359 unsigned int track_color_; 359 unsigned int track_color_;
360 360
361 private: 361 private:
362 // Observers to notify when the native theme changes. 362 // Observers to notify when the native theme changes.
363 ObserverList<NativeThemeObserver> native_theme_observers_; 363 base::ObserverList<NativeThemeObserver> native_theme_observers_;
364 364
365 DISALLOW_COPY_AND_ASSIGN(NativeTheme); 365 DISALLOW_COPY_AND_ASSIGN(NativeTheme);
366 }; 366 };
367 367
368 } // namespace ui 368 } // namespace ui
369 369
370 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_ 370 #endif // UI_NATIVE_THEME_NATIVE_THEME_H_
OLDNEW
« no previous file with comments | « ui/message_center/notification_blocker.h ('k') | ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698