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

Issue 24024004: Translate: element API callback interface change (Closed)

Created:
7 years, 3 months ago by Takashi Toyoshima
Modified:
7 years, 3 months ago
Reviewers:
xiyuan, hajimehoshi
CC:
chromium-reviews, arv+watch_chromium.org
Visibility:
Public.

Description

Translate: element API callback interface change The progress callback interface will be changed as the third parameter goes to number from boolean. This change make translate.js support both boolean and number for API migration. Once this change goes to stable channel, server side library will change to return number to specify error code. BUG=211308 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221992

Patch Set 1 #

Patch Set 2 : for review #

Patch Set 3 : rename hash table #

Total comments: 10

Patch Set 4 : review #2 #

Patch Set 5 : nits found by local test... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -27 lines) Patch
M chrome/browser/resources/translate.js View 1 2 3 4 11 chunks +57 lines, -19 lines 0 comments Download
M chrome/browser/resources/translate_internals/translate_internals.js View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/translate/translate_errors.h View 2 chunks +13 lines, -8 lines 0 comments Download
M chrome/renderer/translate/translate_helper.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Takashi Toyoshima
Hi, can you take a look on chrome/browser/resources ? I want to prepare coming server ...
7 years, 3 months ago (2013-09-06 12:16:22 UTC) #1
xiyuan
chrome/browser/resources/* LGTM https://chromiumcodereview.appspot.com/24024004/diff/10001/chrome/browser/resources/translate.js File chrome/browser/resources/translate.js (right): https://chromiumcodereview.appspot.com/24024004/diff/10001/chrome/browser/resources/translate.js#newcode10 chrome/browser/resources/translate.js:10: var cr = {}; nit: cr = ...
7 years, 3 months ago (2013-09-06 16:16:41 UTC) #2
Takashi Toyoshima
Thanks. Hajime, can you take a look on translate/ ? https://chromiumcodereview.appspot.com/24024004/diff/10001/chrome/browser/resources/translate.js File chrome/browser/resources/translate.js (right): https://chromiumcodereview.appspot.com/24024004/diff/10001/chrome/browser/resources/translate.js#newcode10 ...
7 years, 3 months ago (2013-09-09 04:02:29 UTC) #3
hajimehoshi
lgtm
7 years, 3 months ago (2013-09-09 04:13:50 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/toyoshim@chromium.org/24024004/18001
7 years, 3 months ago (2013-09-09 04:46:15 UTC) #5
commit-bot: I haz the power
7 years, 3 months ago (2013-09-09 08:02:38 UTC) #6
Message was sent while issue was closed.
Change committed as 221992

Powered by Google App Engine
This is Rietveld 408576698