diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-11 23:29:59 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-11 23:29:59 +0000 |
commit | aa9387daf0c639b82627dc003237023130a8c693 (patch) | |
tree | 7e9645ee84ebbac14e9313e84eb1371c1a84d178 /chrome/browser/automation/testing_automation_provider.h | |
parent | 378b4516b5e7970ae1011599ed397b3d03010c7a (diff) | |
download | chromium_src-aa9387daf0c639b82627dc003237023130a8c693.zip chromium_src-aa9387daf0c639b82627dc003237023130a8c693.tar.gz chromium_src-aa9387daf0c639b82627dc003237023130a8c693.tar.bz2 |
Get rid of ui_controls.h usage in shipping browser code. In a followup change, I'll move the code to a test directory.
I switched the page_load reliablity test to send synthesized keystrokes instead. I removed the reliablity tag drag tests, since these duplicate the newer interactive_ui_tests. The ChromeDriver method has been deprecated after discussion with kkania.
Review URL: https://codereview.chromium.org/11875004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176470 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/testing_automation_provider.h')
-rw-r--r-- | chrome/browser/automation/testing_automation_provider.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h index ca5340c..6035e01 100644 --- a/chrome/browser/automation/testing_automation_provider.h +++ b/chrome/browser/automation/testing_automation_provider.h @@ -120,13 +120,6 @@ class TestingAutomationProvider : public AutomationProvider, bool* success, gfx::Rect* bounds); void SetWindowBounds(int handle, const gfx::Rect& bounds, bool* result); void SetWindowVisible(int handle, bool visible, bool* result); - 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); @@ -1225,22 +1218,6 @@ class TestingAutomationProvider : public AutomationProvider, void SendWebkitKeyEvent(base::DictionaryValue* args, IPC::Message* message); - // Sends the key event from the OS level to the browser window, - // allowing it to be preprocessed by some external application (ie. IME). - // Will switch to the tab specified by tab_index before sending the event. - // The pair |windex| and |tab_index| or the single |auto_id| must be given - // to specify the tab. - // Example: - // input: { "windex": 1, - // "tab_index": 1, - // "auto_id": { "type": 0, "id": "awoein" }, - // "keyCode": ui::VKEY_X, - // "modifiers": automation::kShiftKeyMask, - // } - // output: none - void SendOSLevelKeyEventToTab(base::DictionaryValue* args, - IPC::Message* message); - // Processes the WebKit mouse event with the specified properties. // The pair |windex| and |tab_index| or the single |auto_id| must be given // to specify the render view. |