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

Unified Diff: ash/test/screen_orientation_controller_test_api.cc

Issue 2802403002: Resolve current orientation after applying the previous orientation request. (Closed)
Patch Set: Created 3 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: ash/test/screen_orientation_controller_test_api.cc
diff --git a/ash/test/screen_orientation_controller_test_api.cc b/ash/test/screen_orientation_controller_test_api.cc
index 16b513755dff74bc5b28cdcf83ddc124f73d5ad9..743d23b2c0ab0636a398f1b6ebc1009f038bb14c 100644
--- a/ash/test/screen_orientation_controller_test_api.cc
+++ b/ash/test/screen_orientation_controller_test_api.cc
@@ -28,5 +28,10 @@ ScreenOrientationControllerTestApi::UserLockedOrientation() const {
return controller_->user_locked_orientation_;
}
+blink::WebScreenOrientationLockType
+ScreenOrientationControllerTestApi::GetCurrentOrientation() const {
+ return controller_->GetCurrentOrientationForTest();
+}
+
} // namespace test
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698