summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/automation/automation_provider.h')
-rw-r--r--chrome/browser/automation/automation_provider.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h
index 1286e2b..4095ab9 100644
--- a/chrome/browser/automation/automation_provider.h
+++ b/chrome/browser/automation/automation_provider.h
@@ -57,6 +57,7 @@ class LoginHandler;
class MetricEventDurationObserver;
class InitialLoadObserver;
class NavigationControllerRestoredObserver;
+class TranslateInfoBarDelegate;
struct AutocompleteMatchData;
namespace gfx {
@@ -506,6 +507,18 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>,
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,
+ DictionaryValue* args,
+ IPC::Message* reply_message);
+
+ // Takes the specified action on the translate bar.
+ // Uses the JSON interface for input/output.
+ void SelectTranslateOption(Browser* browser,
+ DictionaryValue* args,
+ IPC::Message* reply_message);
+
// Get the profiles that are currently saved to the DB.
// Uses the JSON interface for input/output.
void GetAutoFillProfile(Browser* browser,