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

Issue 1329213002: PDF: Use chrome.resourcesPrivate instead of Pepper to display translated strings (Closed)

Created:
5 years, 3 months ago by tsergeant
Modified:
5 years, 3 months ago
CC:
arv+watch_chromium.org, binji+watch_chromium.org, bradnelson+warch_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org, ihf+watch_chromium.org, piman+watch_chromium.org, teravest+watch_chromium.org, tzik, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@i18n_api
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PDF: Use chrome.resourcesPrivate instead of Pepper to display translated strings This new API is significantly simpler, and easier to add new strings to. BUG=506035 Committed: https://crrev.com/5c0b09e2e9f54ced8a020dc2d9ae381089d7a049 Cr-Commit-Position: refs/heads/master@{#349611}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : Fix comments #

Patch Set 5 : Add per-file owner #

Patch Set 6 : Remove test cases #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -171 lines) Patch
M chrome/browser/extensions/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/resources_private/resources_private_api.cc View 1 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/resources/pdf/manifest.json View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/resources/pdf/pdf.js View 1 2 3 4 3 chunks +19 lines, -9 lines 0 comments Download
M chrome/common/extensions/api/OWNERS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/resources_private.idl View 1 1 chunk +1 line, -1 line 0 comments Download
M components/pdf/renderer/DEPS View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M components/pdf/renderer/pepper_pdf_host.h View 1 chunk +0 lines, -2 lines 0 comments Download
M components/pdf/renderer/pepper_pdf_host.cc View 1 2 3 5 chunks +0 lines, -35 lines 0 comments Download
M pdf/out_of_process_instance.h View 1 chunk +0 lines, -2 lines 0 comments Download
M pdf/out_of_process_instance.cc View 1 2 3 4 3 chunks +0 lines, -26 lines 0 comments Download
M ppapi/c/private/ppb_pdf.h View 2 chunks +0 lines, -11 lines 0 comments Download
M ppapi/cpp/private/pdf.h View 1 chunk +0 lines, -2 lines 0 comments Download
M ppapi/cpp/private/pdf.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M ppapi/proxy/pdf_resource.h View 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/proxy/pdf_resource.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M ppapi/proxy/pdf_resource_unittest.cc View 1 2 3 4 5 1 chunk +0 lines, -31 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 2 chunks +0 lines, -9 lines 0 comments Download
M ppapi/tests/test_pdf.cc View 1 2 3 4 5 1 chunk +0 lines, -10 lines 0 comments Download
M ppapi/thunk/ppb_pdf_api.h View 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/thunk/ppb_pdf_thunk.cc View 2 chunks +0 lines, -8 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
tsergeant
Raymes, PTAL. Almost entirely just deleting things =D
5 years, 3 months ago (2015-09-17 03:46:13 UTC) #2
raymes
lgtm!! With some nits. https://codereview.chromium.org/1329213002/diff/20001/chrome/browser/resources/pdf/pdf.js File chrome/browser/resources/pdf/pdf.js (right): https://codereview.chromium.org/1329213002/diff/20001/chrome/browser/resources/pdf/pdf.js#newcode528 chrome/browser/resources/pdf/pdf.js:528: handleStrings_: function(strings) { nit: add ...
5 years, 3 months ago (2015-09-17 03:56:43 UTC) #3
tsergeant
benwells@chromium.org, please review changes in chrome/browser/extensions/DEPS chrome/common/extensions/api/resources_private.idl I'm an owner of chrome/browser/extensions/api/resources_private/resources_private_api.cc, is it worth ...
5 years, 3 months ago (2015-09-17 04:23:19 UTC) #5
tsergeant
Also adding dcheng@ for ppapi_messages.h, and blundell@ for the addition of components/strings/grit/components_strings.h to chrome/browser/extensions/DEPS
5 years, 3 months ago (2015-09-17 06:43:04 UTC) #7
blundell
lgtm
5 years, 3 months ago (2015-09-17 07:35:33 UTC) #8
dcheng
rs lgtm yay for deletions.
5 years, 3 months ago (2015-09-17 17:10:26 UTC) #9
benwells
On 2015/09/17 04:23:19, tsergeant wrote: > mailto:benwells@chromium.org, please review changes in > > chrome/browser/extensions/DEPS > ...
5 years, 3 months ago (2015-09-18 01:34:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1329213002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1329213002/80001
5 years, 3 months ago (2015-09-18 01:54:57 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1329213002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1329213002/100001
5 years, 3 months ago (2015-09-18 03:17:57 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 3 months ago (2015-09-18 04:10:11 UTC) #18
commit-bot: I haz the power
5 years, 3 months ago (2015-09-18 04:10:51 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5c0b09e2e9f54ced8a020dc2d9ae381089d7a049
Cr-Commit-Position: refs/heads/master@{#349611}

Powered by Google App Engine
This is Rietveld 408576698