summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_provider.h
diff options
context:
space:
mode:
authornirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-22 04:55:28 +0000
committernirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-22 04:55:28 +0000
commite004a2d0d8d5f3e67483f52a48db29998882d7ff (patch)
tree1c5d4eeaa1734a026c0a1a5070dc3af6dfb85d7e /chrome/browser/automation/automation_provider.h
parent8e8efbd197406eaf4b4e458c32b158f360ba9307 (diff)
downloadchromium_src-e004a2d0d8d5f3e67483f52a48db29998882d7ff.zip
chromium_src-e004a2d0d8d5f3e67483f52a48db29998882d7ff.tar.gz
chromium_src-e004a2d0d8d5f3e67483f52a48db29998882d7ff.tar.bz2
Add PyAuto automation hooks to perform actions on infobars
Actions include: dismissing an infobar, accept/close-ing it Also, enable infobars tests. Review URL: http://codereview.chromium.org/3042012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53304 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.h')
-rw-r--r--chrome/browser/automation/automation_provider.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h
index f166771..0bc30fcc 100644
--- a/chrome/browser/automation/automation_provider.h
+++ b/chrome/browser/automation/automation_provider.h
@@ -350,6 +350,12 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>,
DictionaryValue* args,
IPC::Message* reply_message);
+ // Perform actions on an infobar like dismiss, accept, cancel.
+ // Uses the JSON interface for input/output.
+ void PerformActionOnInfobar(Browser* browser,
+ DictionaryValue* args,
+ IPC::Message* reply_message);
+
// Get info about the chromium/chrome in use.
// This includes things like version, executable name, executable path.
// Uses the JSON interface for input/output.