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

Unified Diff: ash/test/shell_test_api.h

Issue 2728803002: Handles users rotating screen too early (Closed)
Patch Set: Created 3 years, 10 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/shell_test_api.h
diff --git a/ash/test/shell_test_api.h b/ash/test/shell_test_api.h
index 236258be2eb7f6e536b58dadf77ab8bf8be2762b..929fabba4684b36d10bdd24abd671f6231677263 100644
--- a/ash/test/shell_test_api.h
+++ b/ash/test/shell_test_api.h
@@ -5,6 +5,8 @@
#ifndef ASH_TEST_SHELL_TEST_API_H_
#define ASH_TEST_SHELL_TEST_API_H_
+#include <stdint.h>
+
#include "base/macros.h"
namespace ash {
@@ -16,6 +18,7 @@ class ScreenPositionController;
class Shell;
class SystemGestureEventFilter;
class WorkspaceController;
+class ScreenRotationAnimator;
namespace test {
@@ -31,6 +34,8 @@ class ShellTestApi {
DragDropController* drag_drop_controller();
MaximizeModeWindowManager* maximize_mode_window_manager();
void DisableDisplayAnimator();
+ ScreenRotationAnimator* GetOrMakeAnimatorByDisplayId(int64_t display_id);
bruthig 2017/03/02 18:25:45 I think it makes more sense to put these in a Disp
wutao 2017/03/03 02:45:52 Done. Also revised the old test when to access Dis
+ int DisplayIdAnimatorMapSize();
// Set SessionStateDelegate.
void SetSessionStateDelegate(SessionStateDelegate* session_state_delegate);

Powered by Google App Engine
This is Rietveld 408576698