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

Issue 15728008: Add the 'content' column to see what text is used to detect a language (Closed)

Created:
7 years, 7 months ago by hajimehoshi
Modified:
7 years, 6 months ago
CC:
chromium-reviews, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add the 'content' column to chrome://translate-internals/ This column allows us to see what text is used to detect a language. The text is generated from the web page seen by the user, and doesn't include HTML tags. The text is sent from the renderer process to the browser process each time when detecting. This feature will help us to solve the problems, for example, the problem where the translation infobar indicates the web page language we don't expect. For now, with this CL, the text is always sent even though the translate-internals tab page doesn't exist. BUG=175967 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203093

Patch Set 1 #

Total comments: 2

Patch Set 2 : Modified the comment #

Total comments: 1

Patch Set 3 : (Rebasing) #

Patch Set 4 : (Rebasing) #

Patch Set 5 : (Rebasing) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -4 lines) Patch
M chrome/browser/resources/translate_internals/detection_logs.html View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/resources/translate_internals/translate_internals.css View 1 2 3 3 chunks +14 lines, -3 lines 0 comments Download
M chrome/browser/resources/translate_internals/translate_internals.js View 1 2 3 5 chunks +43 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/language_detection_details.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/translate/translate_helper.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
hajimehoshi
Can you take a look, please?
7 years, 7 months ago (2013-05-23 06:35:46 UTC) #1
Takashi Toyoshima
lgtm on translate/ https://codereview.chromium.org/15728008/diff/1/chrome/renderer/translate/translate_helper.cc File chrome/renderer/translate/translate_helper.cc (right): https://codereview.chromium.org/15728008/diff/1/chrome/renderer/translate/translate_helper.cc#newcode116 chrome/renderer/translate/translate_helper.cc:116: // TODO(hajimehoshi): this parameter should be ...
7 years, 7 months ago (2013-05-23 06:54:53 UTC) #2
hajimehoshi
Thanks! https://codereview.chromium.org/15728008/diff/1/chrome/renderer/translate/translate_helper.cc File chrome/renderer/translate/translate_helper.cc (right): https://codereview.chromium.org/15728008/diff/1/chrome/renderer/translate/translate_helper.cc#newcode116 chrome/renderer/translate/translate_helper.cc:116: // TODO(hajimehoshi): this parameter should be set only ...
7 years, 7 months ago (2013-05-23 06:59:18 UTC) #3
hajimehoshi
Can you take a look? Thank you in advance. On 2013/05/23 06:59:18, hajimehoshi wrote: > ...
7 years, 7 months ago (2013-05-23 07:08:12 UTC) #4
Evan Stade
lgtm, but please improve the CL description - it doesn't mention what feature it's affecting. ...
7 years, 7 months ago (2013-05-23 16:48:58 UTC) #5
hajimehoshi
Thanks. I modified the description. On 2013/05/23 16:48:58, Evan Stade wrote: > lgtm, but please ...
7 years, 7 months ago (2013-05-24 02:20:48 UTC) #6
hajimehoshi
+sky, can you take a look at chrome/common/language_detection_details.h? Thank you in advance. On 2013/05/24 02:20:48, ...
7 years, 7 months ago (2013-05-24 03:55:52 UTC) #7
sky
LGTM
7 years, 7 months ago (2013-05-24 16:16:19 UTC) #8
hajimehoshi
ping +cdn, can you take a look at chrome/common/render_messages.h?
7 years, 6 months ago (2013-05-27 00:47:38 UTC) #9
Cris Neckar
On 2013/05/27 00:47:38, hajimehoshi wrote: > ping +cdn, can you take a look at chrome/common/render_messages.h? ...
7 years, 6 months ago (2013-05-29 20:28:16 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hajimehoshi@chromium.org/15728008/26001
7 years, 6 months ago (2013-05-30 03:17:25 UTC) #11
commit-bot: I haz the power
7 years, 6 months ago (2013-05-30 06:02:34 UTC) #12
Message was sent while issue was closed.
Change committed as 203093

Powered by Google App Engine
This is Rietveld 408576698