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

Issue 227043005: Eliminate TranslateManager listening to //chrome-level notifications. (Closed)

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

Description

Eliminate TranslateManager listening to //chrome-level notifications. The TAB_LANGUAGE_DETERMINED and PAGE_TRANSLATED notifications are sent by TranslateTabHelper on receiving //chrome-level IPC from the renderer. This CL exposes new public APIs on TranslateManager and has TranslateTabHelper call these APIs on receiving the IPC instead of TranslateManager listen for the notifications that TranslateTabHelper is sending. BUG=359998 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262357

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase + respond to review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -59 lines) Patch
M chrome/browser/translate/translate_manager.h View 1 4 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/translate/translate_manager.cc View 1 4 chunks +25 lines, -51 lines 0 comments Download
M chrome/browser/translate/translate_tab_helper.cc View 1 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
blundell
6 years, 8 months ago (2014-04-06 09:56:00 UTC) #1
droger
It seems to me that this belong to the driver rather than the embedder. I ...
6 years, 8 months ago (2014-04-07 08:38:08 UTC) #2
blundell
On 2014/04/07 08:38:08, droger wrote: > It seems to me that this belong to the ...
6 years, 8 months ago (2014-04-07 09:00:43 UTC) #3
droger
lgtm https://codereview.chromium.org/227043005/diff/1/chrome/browser/translate/translate_manager.cc File chrome/browser/translate/translate_manager.cc (right): https://codereview.chromium.org/227043005/diff/1/chrome/browser/translate/translate_manager.cc#newcode200 chrome/browser/translate/translate_manager.cc:200: // Short-circuit out if not in a state ...
6 years, 8 months ago (2014-04-07 09:09:54 UTC) #4
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 8 months ago (2014-04-08 05:24:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/227043005/20001
6 years, 8 months ago (2014-04-08 05:25:14 UTC) #6
blundell
https://codereview.chromium.org/227043005/diff/1/chrome/browser/translate/translate_manager.cc File chrome/browser/translate/translate_manager.cc (right): https://codereview.chromium.org/227043005/diff/1/chrome/browser/translate/translate_manager.cc#newcode200 chrome/browser/translate/translate_manager.cc:200: // Short-circuit out if not in a state where ...
6 years, 8 months ago (2014-04-08 05:25:22 UTC) #7
commit-bot: I haz the power
6 years, 8 months ago (2014-04-08 08:53:40 UTC) #8
Message was sent while issue was closed.
Change committed as 262357

Powered by Google App Engine
This is Rietveld 408576698