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

Issue 227363005: Move reload processing from TranslateManager to TranslateTabHelper. (Closed)

Created:
6 years, 8 months ago by blundell
Modified:
6 years, 8 months ago
Reviewers:
droger
CC:
chromium-reviews
Visibility:
Public.

Description

Move reload processing from TranslateManager to TranslateTabHelper. This reload processing is specific to the //chrome embedder flow, wherein the LanguageDetermined IPC (which initiates translation) is not sent from the renderer on a reload, and thus the browser-side code must explicitly listen for reloads to initiate translation as appropriate. If the relevant renderer code ever moves into the component, then this browser-side reload handling could move into the content driver of the component. BUG=359998 R=droger@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262378

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase #

Patch Set 3 : Response to review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -144 lines) Patch
M chrome/browser/translate/translate_manager.h View 1 5 chunks +1 line, -22 lines 0 comments Download
M chrome/browser/translate/translate_manager.cc View 1 6 chunks +2 lines, -107 lines 0 comments Download
M chrome/browser/translate/translate_manager_render_view_host_unittest.cc View 1 2 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/translate/translate_tab_helper.h View 1 7 chunks +18 lines, -5 lines 0 comments Download
M chrome/browser/translate/translate_tab_helper.cc View 1 2 5 chunks +89 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
blundell
The logic for why I put the cutpoints where I did in this CL is ...
6 years, 8 months ago (2014-04-07 08:03:01 UTC) #1
droger
Nit: The CL description should be about TranslateTabHelper, not TranslateTabContents. I agree with the cut ...
6 years, 8 months ago (2014-04-07 11:14:41 UTC) #2
blundell
Nits addressed, thanks.
6 years, 8 months ago (2014-04-08 09:20:18 UTC) #3
blundell
6 years, 8 months ago (2014-04-08 12:13:39 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r262378 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698