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

Unified Diff: ash/test/ash_test_base.cc

Issue 2361283002: Add GetDisplayWithDisplayId to display::Screen. (Closed)
Patch Set: test Created 4 years, 3 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 22d4ffda056127df4fa9f020c899d47c7b0c7d16..9696477a3a27bdd6d585e6b92c1a230b876aa361 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -216,6 +216,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