Index: chrome/browser/automation/testing_automation_provider.h |
diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h |
index 3f374ee5eb1b28d645bcc6666465030d4ebba24a..11f428f6ab236fd859ffe575edc974386eb82ccb 100644 |
--- a/chrome/browser/automation/testing_automation_provider.h |
+++ b/chrome/browser/automation/testing_automation_provider.h |
@@ -875,6 +875,23 @@ class TestingAutomationProvider : public AutomationProvider, |
void IsMenuCommandEnabledJSON(DictionaryValue* args, |
IPC::Message* reply_message); |
+ // Returns a dictionary of information about the given tab. |
+ // Example: |
+ // input: { "tab_index": 1, |
+ // "windex": 1 |
+ // } |
+ // output: { "title": "Hello World", |
+ // "url": "http://foo.bar" } |
+ void GetTabInfo(DictionaryValue* args, |
+ IPC::Message* reply_message); |
+ |
+ // Returns the tab count for the given browser window. |
+ // Example: |
+ // input: { "windex": 1 } |
+ // output: { "tab_count": 5 } |
+ void GetTabCountJSON(DictionaryValue* args, |
+ IPC::Message* reply_message); |
+ |
// Navigates to the given URL. Uses the JSON interface. |
// The pair |windex| and |tab_index| or the single |auto_id| must be given |
// to specify the tab. |
@@ -1347,6 +1364,13 @@ class TestingAutomationProvider : public AutomationProvider, |
// output: none |
void ActivateTabJSON(base::DictionaryValue* args, IPC::Message* message); |
+ // Brings the given brower's window to the front. |
+ // Example: |
+ // input: { "windex": 1 } |
+ // output: none |
+ void BringBrowserToFrontJSON(base::DictionaryValue* args, |
+ IPC::Message* message); |
+ |
// Gets the version of ChromeDriver automation supported by this server. |
// Example: |
// input: none |