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

Unified Diff: chrome/browser/translate/translate_tab_helper.h

Issue 203223002: Translate bubble for Mac OS X (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (rebasing) Created 6 years, 8 months 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/translate/translate_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/translate/translate_tab_helper.h
diff --git a/chrome/browser/translate/translate_tab_helper.h b/chrome/browser/translate/translate_tab_helper.h
index c7febdbd58ca638a2320966842988c042ea44b29..64666422175cb3fca6a2ca98ac5d411fdef982d8 100644
--- a/chrome/browser/translate/translate_tab_helper.h
+++ b/chrome/browser/translate/translate_tab_helper.h
@@ -65,6 +65,11 @@ class TranslateTabHelper
static TranslateManager* GetManagerFromWebContents(
content::WebContents* web_contents);
+ // Gets |source| and |target| language for translation.
+ static void GetTranslateLanguages(content::WebContents* web_contents,
+ std::string* source,
+ std::string* target);
+
// Gets the associated TranslateManager.
TranslateManager* GetTranslateManager();
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/translate/translate_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698