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

Unified Diff: chrome/browser/ui/browser_command_controller.cc

Issue 25373009: Translate: New Bubble UX (for the view toolkit) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sky's review (2) Created 7 years, 2 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
Index: chrome/browser/ui/browser_command_controller.cc
diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc
index c58e17ab26f6580f2fc43c4671fb272280dbd571..9fac90769f4fe9ed5c62f513829707a81b8051a4 100644
--- a/chrome/browser/ui/browser_command_controller.cc
+++ b/chrome/browser/ui/browser_command_controller.cc
@@ -535,6 +535,9 @@ void BrowserCommandController::ExecuteCommandWithDisposition(
case IDC_PRINT_TO_DESTINATION:
PrintToDestination(browser_);
break;
+ case IDC_TRANSLATE_PAGE:
+ Translate(browser_);
+ break;
case IDC_ENCODING_AUTO_DETECT:
browser_->ToggleEncodingAutoDetect();
break;

Powered by Google App Engine
This is Rietveld 408576698