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

Unified Diff: ui/ozone/platform/drm/host/drm_native_display_delegate.cc

Issue 1861593002: chromeos: Turn off displays on suspend (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: chromeos: Add functions for configuring cached displays Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/drm/host/drm_native_display_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/host/drm_native_display_delegate.cc
diff --git a/ui/ozone/platform/drm/host/drm_native_display_delegate.cc b/ui/ozone/platform/drm/host/drm_native_display_delegate.cc
index 1563516b1075169db8f9889d686f8df9f332ebf0..14b4d0c59e3386912918a4c9f0ddffe6c1e4c2e8 100644
--- a/ui/ozone/platform/drm/host/drm_native_display_delegate.cc
+++ b/ui/ozone/platform/drm/host/drm_native_display_delegate.cc
@@ -54,6 +54,11 @@ void DrmNativeDisplayDelegate::SetBackgroundColor(uint32_t color_argb) {
void DrmNativeDisplayDelegate::ForceDPMSOn() {
}
+void DrmNativeDisplayDelegate::GetCachedDisplays(
+ const GetDisplaysCallback& callback) {
+ display_manager_->GetCachedDisplays(callback);
+}
+
void DrmNativeDisplayDelegate::GetDisplays(
const GetDisplaysCallback& callback) {
display_manager_->UpdateDisplays(callback);
« no previous file with comments | « ui/ozone/platform/drm/host/drm_native_display_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698