summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/testing_automation_provider.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 17:33:34 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 17:33:34 +0000
commit78962e2e1abcf55d0600dfaf437c6a0675fd77c7 (patch)
tree107a80f107395d374db57374527e8d88a56f2913 /chrome/browser/automation/testing_automation_provider.h
parent909a42ef4998bcda783dabe019dbcdedd4b49a18 (diff)
downloadchromium_src-78962e2e1abcf55d0600dfaf437c6a0675fd77c7.zip
chromium_src-78962e2e1abcf55d0600dfaf437c6a0675fd77c7.tar.gz
chromium_src-78962e2e1abcf55d0600dfaf437c6a0675fd77c7.tar.bz2
GTTF: Continue moving testing automation bits out of AutomationProvider.
TEST=ui_tests, chrome_frame_tests BUG=52097 Review URL: http://codereview.chromium.org/3167038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57344 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/testing_automation_provider.h')
-rw-r--r--chrome/browser/automation/testing_automation_provider.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h
index 8b6da28..7d75e36 100644
--- a/chrome/browser/automation/testing_automation_provider.h
+++ b/chrome/browser/automation/testing_automation_provider.h
@@ -83,6 +83,33 @@ class TestingAutomationProvider : public AutomationProvider,
void IsWindowActive(int handle, bool* success, bool* is_active);
void ActivateWindow(int handle);
void IsWindowMaximized(int handle, bool* is_maximized, bool* success);
+ void TerminateSession(int handle, bool* success);
+ void WindowGetViewBounds(int handle, int view_id, bool screen_coordinates,
+ bool* success, gfx::Rect* bounds);
+ void GetWindowBounds(int handle, gfx::Rect* bounds, bool* result);
+ void SetWindowBounds(int handle, const gfx::Rect& bounds, bool* result);
+ void SetWindowVisible(int handle, bool visible, bool* result);
+ void WindowSimulateClick(const IPC::Message& message,
+ int handle,
+ const gfx::Point& click,
+ int flags);
+ void WindowSimulateMouseMove(const IPC::Message& message,
+ int handle,
+ const gfx::Point& location);
+ void WindowSimulateKeyPress(const IPC::Message& message,
+ int handle,
+ int key,
+ int flags);
+ void GetTabCount(int handle, int* tab_count);
+ void GetType(int handle, int* type_as_int);
+ void GetTab(int win_handle, int tab_index, int* tab_handle);
+ void GetTabProcessID(int handle, int* process_id);
+ void GetTabTitle(int handle, int* title_string_size, std::wstring* title);
+ void GetTabIndex(int handle, int* tabstrip_index);
+ void GetTabURL(int handle, bool* success, GURL* url);
+ void GetShelfVisibility(int handle, bool* visible);
+ void IsFullscreen(int handle, bool* is_fullscreen);
+ void GetFullscreenBubbleVisibility(int handle, bool* is_visible);
// Callback for history redirect queries.
virtual void OnRedirectQueryComplete(