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

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

Issue 788423002: Add display task to trigger display configuration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@async-refactor3
Patch Set: Remove include in favour of forward declare Created 6 years 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 21 matching lines...) Expand all
32 // NativeDisplayDelegate overrides: 32 // NativeDisplayDelegate overrides:
33 void Initialize() override; 33 void Initialize() override;
34 void GrabServer() override; 34 void GrabServer() override;
35 void UngrabServer() override; 35 void UngrabServer() override;
36 bool TakeDisplayControl() override; 36 bool TakeDisplayControl() override;
37 bool RelinquishDisplayControl() override; 37 bool RelinquishDisplayControl() override;
38 void SyncWithServer() override; 38 void SyncWithServer() override;
39 void SetBackgroundColor(uint32_t color_argb) override; 39 void SetBackgroundColor(uint32_t color_argb) override;
40 void ForceDPMSOn() override; 40 void ForceDPMSOn() override;
41 std::vector<DisplaySnapshot*> GetDisplays() override; 41 std::vector<DisplaySnapshot*> GetDisplays() override;
42 void GetDisplays(const GetDisplaysCallback& callback) override;
42 void AddMode(const DisplaySnapshot& output, const DisplayMode* mode) override; 43 void AddMode(const DisplaySnapshot& output, const DisplayMode* mode) override;
43 bool Configure(const DisplaySnapshot& output, 44 bool Configure(const DisplaySnapshot& output,
44 const DisplayMode* mode, 45 const DisplayMode* mode,
45 const gfx::Point& origin) override; 46 const gfx::Point& origin) override;
46 void Configure(const DisplaySnapshot& output, 47 void Configure(const DisplaySnapshot& output,
47 const DisplayMode* mode, 48 const DisplayMode* mode,
48 const gfx::Point& origin, 49 const gfx::Point& origin,
49 const ConfigureCallback& callback) override; 50 const ConfigureCallback& callback) override;
50 void CreateFrameBuffer(const gfx::Size& size) override; 51 void CreateFrameBuffer(const gfx::Size& size) override;
51 bool GetHDCPState(const DisplaySnapshot& output, HDCPState* state) override; 52 bool GetHDCPState(const DisplaySnapshot& output, HDCPState* state) override;
(...skipping 25 matching lines...) Expand all
77 78
78 ScopedVector<DisplaySnapshot> displays_; 79 ScopedVector<DisplaySnapshot> displays_;
79 ObserverList<NativeDisplayObserver> observers_; 80 ObserverList<NativeDisplayObserver> observers_;
80 81
81 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateProxy); 82 DISALLOW_COPY_AND_ASSIGN(NativeDisplayDelegateProxy);
82 }; 83 };
83 84
84 } // namespace ui 85 } // namespace ui
85 86
86 #endif // UI_OZONE_PLATFORM_DRI_NATIVE_DISPLAY_DELEGATE_PROXY_H_ 87 #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