Index: chrome/browser/automation/automation_provider.h |
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h |
index 0bc30fcc854011b14f0381990d6f5f50579711e8..f7da404f0f88a19969e0881422f043bfc852ef28 100644 |
--- a/chrome/browser/automation/automation_provider.h |
+++ b/chrome/browser/automation/automation_provider.h |
@@ -56,6 +56,7 @@ class LoginHandler; |
class MetricEventDurationObserver; |
class InitialLoadObserver; |
class NavigationControllerRestoredObserver; |
+class TranslateInfoBarDelegate; |
struct AutocompleteMatchData; |
namespace gfx { |
@@ -492,6 +493,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, |