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

Unified Diff: ui/ozone/platform/dri/native_display_delegate_dri.cc

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 side-by-side diff with in-line comments
Download patch
Index: ui/ozone/platform/dri/native_display_delegate_dri.cc
diff --git a/ui/ozone/platform/dri/native_display_delegate_dri.cc b/ui/ozone/platform/dri/native_display_delegate_dri.cc
index f3ee4ba953463c2f65dc97ae86eb52089300f9bc..89d0682a7db473da05194d5dfd69069d83c36669 100644
--- a/ui/ozone/platform/dri/native_display_delegate_dri.cc
+++ b/ui/ozone/platform/dri/native_display_delegate_dri.cc
@@ -162,6 +162,11 @@ std::vector<DisplaySnapshot*> NativeDisplayDelegateDri::GetDisplays() {
return generic_displays;
}
+void NativeDisplayDelegateDri::GetDisplays(
+ const GetDisplaysCallback& callback) {
+ callback.Run(GetDisplays());
+}
+
void NativeDisplayDelegateDri::AddMode(const DisplaySnapshot& output,
const DisplayMode* mode) {
}
« no previous file with comments | « ui/ozone/platform/dri/native_display_delegate_dri.h ('k') | ui/ozone/platform/dri/native_display_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698