summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/testing_automation_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/automation/testing_automation_provider.h')
-rw-r--r--chrome/browser/automation/testing_automation_provider.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h
index 9a0dec8..dc76603 100644
--- a/chrome/browser/automation/testing_automation_provider.h
+++ b/chrome/browser/automation/testing_automation_provider.h
@@ -637,6 +637,24 @@ class TestingAutomationProvider : public AutomationProvider,
static std::map<AutoFillFieldType, std::wstring>
GetCreditCardFieldToStringMap();
+ // Get a list of active HTML5 notifications.
+ // Uses the JSON interface for input/output.
+ void GetActiveNotifications(Browser* browser,
+ DictionaryValue* args,
+ IPC::Message* reply_message);
+
+ // Close an active HTML5 notification.
+ // Uses the JSON interface for input/output.
+ void CloseNotification(Browser* browser,
+ DictionaryValue* args,
+ IPC::Message* reply_message);
+
+ // Waits for the number of active HTML5 notifications to reach a given count.
+ // Uses the JSON interface for input/output.
+ void WaitForNotificationCount(Browser* browser,
+ DictionaryValue* args,
+ IPC::Message* reply_message);
+
void WaitForTabCountToBecome(int browser_handle,
int target_tab_count,
IPC::Message* reply_message);