summaryrefslogtreecommitdiffstats
path: root/ash/test/ash_test_base.h
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-15 22:58:36 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-15 22:58:36 +0000
commitc39be8f0c897d5f57305e3a36b2a5f74ea15d3e1 (patch)
tree6bd0961a3987a0ab4585ffdb4120974b25e285ef /ash/test/ash_test_base.h
parent481a4b7f34565ef087c8aa44c8e04f9f0e466b2d (diff)
downloadchromium_src-c39be8f0c897d5f57305e3a36b2a5f74ea15d3e1.zip
chromium_src-c39be8f0c897d5f57305e3a36b2a5f74ea15d3e1.tar.gz
chromium_src-c39be8f0c897d5f57305e3a36b2a5f74ea15d3e1.tar.bz2
Basic tests for extended desktop mode
BUG=123160 TEST=extended_desktop_unittests Review URL: https://chromiumcodereview.appspot.com/10536187 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142513 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/test/ash_test_base.h')
-rw-r--r--ash/test/ash_test_base.h9
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();