diff options
Diffstat (limited to 'ash/test/ash_test_base.h')
-rw-r--r-- | ash/test/ash_test_base.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ash/test/ash_test_base.h b/ash/test/ash_test_base.h index 2ca9246..559b370 100644 --- a/ash/test/ash_test_base.h +++ b/ash/test/ash_test_base.h @@ -6,6 +6,8 @@ #define ASH_TEST_ASH_TEST_BASE_H_ #pragma once +#include <string> + #include "ash/shell.h" #include "base/compiler_specific.h" #include "base/message_loop.h" @@ -38,6 +40,13 @@ class AshTestBase : public testing::Test { // and |scale|. void ChangeMonitorConfig(float scale, const gfx::Rect& bounds); + // Update the display configuration as given in |display_specs|. The + // format of |display_spec| is a list of comma separated spec for + // each displays. Please refer to the comment in + // | aura::MonitorManager::CreateMonitorFromSpec| for the format of + // the display spec. + void UpdateMonitor(const std::string& display_specs); + protected: void RunAllPendingInMessageLoop(); |