summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/tab_proxy.h
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-13 00:47:45 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-13 00:47:45 +0000
commit87eab229472ea6f07c1e481c251fd33153decb86 (patch)
tree30d4f7aaca6699b8a8fa5c13c60314dcd2c184db /chrome/test/automation/tab_proxy.h
parent32cf3d9de04f4c5432c557dfe9f24dd4ea4f54d1 (diff)
downloadchromium_src-87eab229472ea6f07c1e481c251fd33153decb86.zip
chromium_src-87eab229472ea6f07c1e481c251fd33153decb86.tar.gz
chromium_src-87eab229472ea6f07c1e481c251fd33153decb86.tar.bz2
Add support for repositioning/resizing a tab window. This is needed as the SetWindowPos call
can fail on Vista if the caller is running under low IL. Review URL: http://codereview.chromium.org/42150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11604 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/tab_proxy.h')
-rw-r--r--chrome/test/automation/tab_proxy.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h
index dc10a13..3603763 100644
--- a/chrome/test/automation/tab_proxy.h
+++ b/chrome/test/automation/tab_proxy.h
@@ -285,6 +285,12 @@ class TabProxy : public AutomationResourceProxy {
// Uses the specified encoding to override encoding of the page in the tab.
bool OverrideEncoding(const std::wstring& encoding);
+#if defined(OS_WIN)
+ // Resizes the tab window.
+ void Reposition(HWND window, HWND window_insert_after, int left, int top,
+ int width, int height, int flags);
+#endif // defined(OS_WIN)
+
private:
DISALLOW_COPY_AND_ASSIGN(TabProxy);
};