Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(429)

Unified Diff: chrome/browser/automation/testing_automation_provider.h

Issue 8587004: Add PyAuto tests for triggering browser/page action. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Ken's comments Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 3402685b1c331b5407352fc9159a2ba1d0f50b25..fc81b51b8c0abac3961fd407b86ee10d8c6fbcbf 100644
--- a/chrome/browser/automation/testing_automation_provider.h
+++ b/chrome/browser/automation/testing_automation_provider.h
@@ -652,6 +652,16 @@ class TestingAutomationProvider : public AutomationProvider,
base::DictionaryValue* args,
IPC::Message* reply_message);
+ // Trigger page action asynchronously in the active tab.
+ // Uses the JSON interface for input/output.
+ void TriggerPageActionById(base::DictionaryValue* args,
+ IPC::Message* reply_message);
+
+ // Trigger browser action asynchronously in the active tab.
+ // Uses the JSON interface for input/output.
+ void TriggerBrowserActionById(base::DictionaryValue* args,
+ IPC::Message* reply_message);
+
// Responds to the Find request and returns the match count.
void FindInPage(Browser* browser,
base::DictionaryValue* args,

Powered by Google App Engine
This is Rietveld 408576698