diff options
author | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-31 21:00:58 +0000 |
---|---|---|
committer | kkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-31 21:00:58 +0000 |
commit | 92e93756559df4ddd8c91ad18b6926b873fe47d3 (patch) | |
tree | e0ccc69ef5da42b2c80160888ad3ff99c9e6894f /chrome/browser/automation/testing_automation_provider.h | |
parent | e6ff5a31f8298bab997b64adcd06e7694733745c (diff) | |
download | chromium_src-92e93756559df4ddd8c91ad18b6926b873fe47d3.zip chromium_src-92e93756559df4ddd8c91ad18b6926b873fe47d3.tar.gz chromium_src-92e93756559df4ddd8c91ad18b6926b873fe47d3.tar.bz2 |
Adds a command to the AutomationProvider for sending WebKeyboardEvents to the selected tab.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6298013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73186 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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h index 27252ef..98c272e 100644 --- a/chrome/browser/automation/testing_automation_provider.h +++ b/chrome/browser/automation/testing_automation_provider.h @@ -750,6 +750,13 @@ class TestingAutomationProvider : public AutomationProvider, DictionaryValue* args, IPC::Message* reply_message); + // Sends a web keyboard event to the active tab. This should not trigger any + // browser hotkeys. + // Uses the JSON interface for input/output. + void SendKeyEventToActiveTab(Browser* browser, + DictionaryValue* args, + IPC::Message* reply_message); + void WaitForTabCountToBecome(int browser_handle, int target_tab_count, IPC::Message* reply_message); |