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

Side by Side Diff: ui/ozone/platform/dri/native_display_delegate_proxy.h

Issue 698293002: ozone: Add PRESUBMIT.py to check patch formatting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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_DRI_NATIVE_DISPLAY_DELEGATE_PROXY_H_ 5 #ifndef UI_OZONE_PLATFORM_DRI_NATIVE_DISPLAY_DELEGATE_PROXY_H_
6 #define UI_OZONE_PLATFORM_DRI_NATIVE_DISPLAY_DELEGATE_PROXY_H_ 6 #define UI_OZONE_PLATFORM_DRI_NATIVE_DISPLAY_DELEGATE_PROXY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 28 matching lines...) Expand all
39 const DisplayMode* mode) override; 39 const DisplayMode* mode) override;
40 virtual bool Configure(const DisplaySnapshot& output, 40 virtual bool Configure(const DisplaySnapshot& output,
41 const DisplayMode* mode, 41 const DisplayMode* mode,
42 const gfx::Point& origin) override; 42 const gfx::Point& origin) override;
43 virtual void CreateFrameBuffer(const gfx::Size& size) override; 43 virtual void CreateFrameBuffer(const gfx::Size& size) override;
44 virtual bool GetHDCPState(const DisplaySnapshot& output, 44 virtual bool GetHDCPState(const DisplaySnapshot& output,
45 HDCPState* state) override; 45 HDCPState* state) override;
46 virtual bool SetHDCPState(const DisplaySnapshot& output, 46 virtual bool SetHDCPState(const DisplaySnapshot& output,
47 HDCPState state) override; 47 HDCPState state) override;
48 virtual std::vector<ColorCalibrationProfile> 48 virtual std::vector<ColorCalibrationProfile>
49 GetAvailableColorCalibrationProfiles( 49 GetAvailableColorCalibrationProfiles(const DisplaySnapshot& output) override;
50 const DisplaySnapshot& output) override;
51 virtual bool SetColorCalibrationProfile( 50 virtual bool SetColorCalibrationProfile(
52 const DisplaySnapshot& output, 51 const DisplaySnapshot& output,
53 ColorCalibrationProfile new_profile) override; 52 ColorCalibrationProfile new_profile) override;
54 virtual void AddObserver(NativeDisplayObserver* observer) override; 53 virtual void AddObserver(NativeDisplayObserver* observer) override;
55 virtual void RemoveObserver(NativeDisplayObserver* observer) override; 54 virtual void RemoveObserver(NativeDisplayObserver* observer) override;
56 55
57 // DeviceEventObserver overrides: 56 // DeviceEventObserver overrides:
58 virtual void OnDeviceEvent(const DeviceEvent& event) override; 57 virtual void OnDeviceEvent(const DeviceEvent& event) override;
59 58
60 // GpuPlatformSupportHost: 59 // GpuPlatformSupportHost:
(...skipping 11 matching lines...) Expand all
72 DeviceManager* device_manager_; // Not owned. 71 DeviceManager* device_manager_; // Not owned.
73 ScopedVector<DisplaySnapshot> displays_; 72 ScopedVector<DisplaySnapshot> displays_;
74 ObserverList<NativeDisplayObserver> observers_; 73 ObserverList<NativeDisplayObserver> observers_;
75 74
76 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateProxy); 75 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateProxy);
77 }; 76 };
78 77
79 } // namespace ui 78 } // namespace ui
80 79
81 #endif // UI_OZONE_PLATFORM_DRI_NATIVE_DISPLAY_DELEGATE_PROXY_H_ 80 #endif // UI_OZONE_PLATFORM_DRI_NATIVE_DISPLAY_DELEGATE_PROXY_H_
OLDNEW
« no previous file with comments | « ui/ozone/platform/dri/native_display_delegate_dri.cc ('k') | ui/ozone/platform/dri/native_display_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698