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

Unified Diff: ui/display/chromeos/test/test_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
Index: ui/display/chromeos/test/test_native_display_delegate.cc
diff --git a/ui/display/chromeos/test/test_native_display_delegate.cc b/ui/display/chromeos/test/test_native_display_delegate.cc
index 00d7cd97f82f1b504826ba9308bc2fed8ab736de..f6b92cf251b0c25c4f78f92336c3bca5732f5ea9 100644
--- a/ui/display/chromeos/test/test_native_display_delegate.cc
+++ b/ui/display/chromeos/test/test_native_display_delegate.cc
@@ -60,6 +60,11 @@ void TestNativeDisplayDelegate::ForceDPMSOn() {
log_->AppendAction(kForceDPMS);
}
+void TestNativeDisplayDelegate::GetCachedDisplays(
+ const GetDisplaysCallback& callback) {
+ callback.Run(outputs_);
+}
+
void TestNativeDisplayDelegate::GetDisplays(
const GetDisplaysCallback& callback) {
if (run_async_) {
« no previous file with comments | « ui/display/chromeos/test/test_native_display_delegate.h ('k') | ui/display/chromeos/update_display_configuration_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698