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

Unified Diff: ash/test/ash_test_base.cc

Issue 2361283002: Add GetDisplayWithDisplayId to display::Screen. (Closed)
Patch Set: id Created 4 years, 2 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: ash/test/ash_test_base.cc
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
index 1025cd8b6d75af45f99d1fd33844a7702aed5b4d..81cfd2ab4e3c4a88826c1bb53c2869bc4b230b42 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -212,6 +212,10 @@ void AshTestBase::UpdateDisplay(const std::string& display_specs) {
DisplayManagerTestApi().UpdateDisplay(display_specs);
}
+int64_t AshTestBase::SetFirstDisplayAsInternalDisplay() {
+ return DisplayManagerTestApi().SetFirstDisplayAsInternalDisplay();
+}
+
aura::Window* AshTestBase::CurrentContext() {
return ash_test_helper_->CurrentContext();
}

Powered by Google App Engine
This is Rietveld 408576698