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 f2ea2a082391edb969aa23c60ef66f5c5034fadc..c0ac0e4f25b125561fc6cf783c1e1a31d2486f78 100644 |
--- a/chrome/browser/automation/testing_automation_provider.h |
+++ b/chrome/browser/automation/testing_automation_provider.h |
@@ -290,6 +290,19 @@ class TestingAutomationProvider : public AutomationProvider, |
base::DictionaryValue* args, |
IPC::Message* reply_message); |
+ // Open a new browser window. |
+ // Uses the JSON interface for input/output. |
+ void OpenNewBrowserWindow(base::DictionaryValue* args, |
+ IPC::Message* reply_message); |
+ // Close a browser window. |
+ // Uses the JSON interface for input/output. |
+ void CloseBrowserWindow(base::DictionaryValue* args, |
+ IPC::Message* reply_message); |
+ // Reset to the default theme. |
+ // Uses the JSON interface for input/output. |
+ void ResetToDefaultTheme(base::DictionaryValue* args, |
+ IPC::Message* reply_message); |
+ |
// Get info about multi-profile users. |
// Uses the JSON interface for input/output. |
void GetMultiProfileInfo( |
@@ -306,6 +319,10 @@ class TestingAutomationProvider : public AutomationProvider, |
void GetBrowserInfo(base::DictionaryValue* args, |
IPC::Message* reply_message); |
+ // Get the browser window count. Uses the JSON interface. |
+ void GetBrowserWindowCountJSON(base::DictionaryValue* args, |
+ IPC::Message* reply_message); |
+ |
// Get info about browser-related processes that currently exist. |
void GetProcessInfo(base::DictionaryValue* args, |
IPC::Message* reply_message); |
@@ -617,6 +634,20 @@ class TestingAutomationProvider : public AutomationProvider, |
base::DictionaryValue* args, |
IPC::Message* reply_message); |
+ // Opens the find request dialogue in the given browser. |
+ // Example: |
+ // input: { "windex": 1 } |
+ // output: none |
+ void OpenFindInPage(base::DictionaryValue* args, |
+ IPC::Message* reply_message); |
+ |
+ // Returns whether the find request dialogue is visible in the given browser. |
+ // Example: |
+ // input: { "windex": 1 } |
+ // output: { "is_visible": true } |
+ void IsFindInPageVisible(base::DictionaryValue* args, |
+ IPC::Message* reply_message); |
+ |
// Returns information about translation for a given tab. Includes |
// information about the translate bar if it is showing. |
void GetTranslateInfo(Browser* browser, |
@@ -1660,9 +1691,6 @@ class TestingAutomationProvider : public AutomationProvider, |
size_t target_count, |
IPC::Message* reply_message); |
- // Resets to the default theme. |
- void ResetToDefaultTheme(); |
- |
void WaitForProcessLauncherThreadToGoIdle(IPC::Message* reply_message); |
void OnRemoveProvider(); // Called via PostTask |