summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_provider.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/browser/automation/automation_provider.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/browser/automation/automation_provider.h')
-rw-r--r--chrome/browser/automation/automation_provider.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h
index c9aa0be..c2bdba3 100644
--- a/chrome/browser/automation/automation_provider.h
+++ b/chrome/browser/automation/automation_provider.h
@@ -24,6 +24,7 @@
#include "chrome/common/ipc_message.h"
#include "chrome/common/ipc_sync_channel.h"
#include "chrome/common/notification_observer.h"
+#include "chrome/test/automation/automation_messages.h"
#include "chrome/views/event.h"
#include "webkit/glue/find_in_page_request.h"
@@ -295,6 +296,9 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>,
// Chrome.
void SetAcceleratorsForTab(int handle, HACCEL accel_table,
int accel_entry_count, bool* status);
+
+ void OnTabReposition(int tab_handle,
+ const IPC::Reposition_Params& params);
#endif // defined(OS_WIN)
// Gets the security state for the tab associated to the specified |handle|.