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

Issue 15295004: Translate: enable against unknown languages with server side detection (Closed)

Created:
7 years, 7 months ago by Takashi Toyoshima
Modified:
7 years, 7 months ago
CC:
chromium-reviews, Avi (use Gerrit), creis+watch_chromium.org, arv+watch_chromium.org, ajwong+watch_chromium.org
Visibility:
Public.

Description

Translate: enable against unknown languages with server side detection Enable context menu for Chrome Translate to perform translation even if a page is written in unknown language to CLD. This change will need platform specific UI change for Win, Mac, and Linux. BUG=172593 TBR=estade@chromium.org, mad@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201715

Patch Set 1 #

Patch Set 2 : update #

Total comments: 15

Patch Set 3 : fix for #2 and #4 #

Patch Set 4 : fix for #5 #

Patch Set 5 : crash fix #

Patch Set 6 : (rebase) #

Patch Set 7 : (rebase) #

Patch Set 8 : (rebase fix) #

Patch Set 9 : update one browser test expectation #

Patch Set 10 : (rebase for dcommit) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -14 lines) Patch
M chrome/app/generated_resources.grd View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/resources/translate.js View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/render_view_context_menu.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -6 lines 0 comments Download
M chrome/browser/translate/translate_infobar_delegate.h View 1 2 3 4 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/translate/translate_infobar_delegate.cc View 1 2 3 4 5 6 2 chunks +15 lines, -1 line 0 comments Download
M chrome/browser/translate/translate_manager.cc View 1 2 3 4 5 6 4 chunks +15 lines, -4 lines 0 comments Download
M chrome/browser/translate/translate_manager_browsertest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Takashi Toyoshima
Hi mad, Sorry for many CLs, but can you take a look this? Also add ...
7 years, 7 months ago (2013-05-17 13:59:23 UTC) #1
MAD
Two requests before I approve this... Thanks! BYE MAD https://chromiumcodereview.appspot.com/15295004/diff/2001/chrome/browser/tab_contents/render_view_context_menu.cc File chrome/browser/tab_contents/render_view_context_menu.cc (left): https://chromiumcodereview.appspot.com/15295004/diff/2001/chrome/browser/tab_contents/render_view_context_menu.cc#oldcode1219 chrome/browser/tab_contents/render_view_context_menu.cc:1219: ...
7 years, 7 months ago (2013-05-17 17:33:11 UTC) #2
Takashi Toyoshima
https://chromiumcodereview.appspot.com/15295004/diff/2001/chrome/browser/tab_contents/render_view_context_menu.cc File chrome/browser/tab_contents/render_view_context_menu.cc (left): https://chromiumcodereview.appspot.com/15295004/diff/2001/chrome/browser/tab_contents/render_view_context_menu.cc#oldcode1219 chrome/browser/tab_contents/render_view_context_menu.cc:1219: TranslateManager::IsTranslatableURL(params_.page_url) && Sorry, I just mistakenly mix a part ...
7 years, 7 months ago (2013-05-17 17:57:07 UTC) #3
MAD
Once the requested changes have been done, LGTM! Thanks... BYE MAD https://chromiumcodereview.appspot.com/15295004/diff/2001/chrome/browser/tab_contents/render_view_context_menu.cc File chrome/browser/tab_contents/render_view_context_menu.cc (left): ...
7 years, 7 months ago (2013-05-17 18:42:24 UTC) #4
Evan Stade
https://chromiumcodereview.appspot.com/15295004/diff/2001/chrome/browser/resources/translate.js File chrome/browser/resources/translate.js (right): https://chromiumcodereview.appspot.com/15295004/diff/2001/chrome/browser/resources/translate.js#newcode132 chrome/browser/resources/translate.js:132: * the translate function was 'auto'. Is empty otherwise. ...
7 years, 7 months ago (2013-05-18 23:53:52 UTC) #5
Takashi Toyoshima
Thanks, mad and evan. https://chromiumcodereview.appspot.com/15295004/diff/2001/chrome/browser/resources/translate.js File chrome/browser/resources/translate.js (right): https://chromiumcodereview.appspot.com/15295004/diff/2001/chrome/browser/resources/translate.js#newcode132 chrome/browser/resources/translate.js:132: * the translate function was ...
7 years, 7 months ago (2013-05-20 06:56:08 UTC) #6
Takashi Toyoshima
ping estade
7 years, 7 months ago (2013-05-23 00:00:03 UTC) #7
Evan Stade
lgtm https://chromiumcodereview.appspot.com/15295004/diff/2001/chrome/browser/resources/translate.js File chrome/browser/resources/translate.js (right): https://chromiumcodereview.appspot.com/15295004/diff/2001/chrome/browser/resources/translate.js#newcode140 chrome/browser/resources/translate.js:140: return lib.getDetectedLanguage(); On 2013/05/20 06:56:08, Takashi Toyoshima (chromium) ...
7 years, 7 months ago (2013-05-23 00:53:28 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/15295004/44001
7 years, 7 months ago (2013-05-23 02:44:52 UTC) #9
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=4519
7 years, 7 months ago (2013-05-23 02:59:25 UTC) #10
Takashi Toyoshima
aha, presubmit check doesn't work on change toughing translate.js because of unavoidable style check error... ...
7 years, 7 months ago (2013-05-23 03:10:22 UTC) #11
Takashi Toyoshima
7 years, 7 months ago (2013-05-23 05:41:47 UTC) #12
Message was sent while issue was closed.
Committed patchset #10 manually as r201715 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698