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

Side by Side Diff: ui/ozone/platform/drm/host/drm_native_display_delegate.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 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_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_
6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_ 6 #define UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "ui/display/types/native_display_delegate.h" 10 #include "ui/display/types/native_display_delegate.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ui::ColorCalibrationProfile new_profile) override; 49 ui::ColorCalibrationProfile new_profile) override;
50 bool SetGammaRamp(const ui::DisplaySnapshot& output, 50 bool SetGammaRamp(const ui::DisplaySnapshot& output,
51 const std::vector<GammaRampRGBEntry>& lut) override; 51 const std::vector<GammaRampRGBEntry>& lut) override;
52 52
53 void AddObserver(NativeDisplayObserver* observer) override; 53 void AddObserver(NativeDisplayObserver* observer) override;
54 void RemoveObserver(NativeDisplayObserver* observer) override; 54 void RemoveObserver(NativeDisplayObserver* observer) override;
55 55
56 private: 56 private:
57 DrmDisplayHostManager* display_manager_; // Not owned. 57 DrmDisplayHostManager* display_manager_; // Not owned.
58 58
59 ObserverList<NativeDisplayObserver> observers_; 59 base::ObserverList<NativeDisplayObserver> observers_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(DrmNativeDisplayDelegate); 61 DISALLOW_COPY_AND_ASSIGN(DrmNativeDisplayDelegate);
62 }; 62 };
63 63
64 } // namespace ui 64 } // namespace ui
65 65
66 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_ 66 #endif // UI_OZONE_PLATFORM_DRM_HOST_DRM_NATIVE_DISPLAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h ('k') | ui/snapshot/screenshot_grabber.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698