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

Unified Diff: ash/test/ash_test_base.h

Issue 1107383002: Merge Prevent DisplayPreferences from saving incorrect rotations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2357
Patch Set: Created 5 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
« no previous file with comments | « ash/system/overview/overview_button_tray_unittest.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/ash_test_base.h
diff --git a/ash/test/ash_test_base.h b/ash/test/ash_test_base.h
index e877eec5e9698aedfb5fb1555338e6f0b28a3d8b..bc59cbc9fb390633e75a9f0dca12ebfe43fd12be 100644
--- a/ash/test/ash_test_base.h
+++ b/ash/test/ash_test_base.h
@@ -13,6 +13,7 @@
#include "content/public/test/test_browser_thread_bundle.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkColor.h"
+#include "ui/gfx/display.h"
#include "ui/wm/public/window_types.h"
#if defined(OS_WIN)
@@ -99,6 +100,12 @@ class AshTestBase : public testing::Test {
NUMBER_OF_BLOCK_REASONS
};
+ // Returns the rotation currentl active for the display |id|.
+ static gfx::Display::Rotation GetActiveDisplayRotation(int64 id);
+
+ // Returns the rotation currently active for the internal display.
+ static gfx::Display::Rotation GetCurrentInternalDisplayRotation();
+
// Proxy to AshTestHelper::SupportsMultipleDisplays().
static bool SupportsMultipleDisplays();
« no previous file with comments | « ash/system/overview/overview_button_tray_unittest.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698