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

Issue 266413002: Refactor pdf_scripting_api.js to remove the PDFMessagingHost in OOP PDF (Closed)

Created:
6 years, 7 months ago by raymes
Modified:
6 years, 7 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews, arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

Refactor pdf_scripting_api.js to remove the PDFMessagingHost in OOP PDF This merges the PDFMessagingHost functionality into PDFViewer and renames PDFMessagingClient to PDFScriptingAPI. PDFMessagingHost provided an extra layer of indirection between the page communicating with the PDF viewer and the viewer itself which made it difficult to add new functionality. BUG=303491 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269548

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -165 lines) Patch
M chrome/browser/resources/pdf/pdf.js View 1 2 8 chunks +72 lines, -56 lines 0 comments Download
M chrome/browser/resources/pdf/pdf_scripting_api.js View 1 2 5 chunks +23 lines, -81 lines 0 comments Download
M chrome/test/data/pdf/basic_plugin_test.js View 1 chunk +5 lines, -10 lines 0 comments Download
M chrome/test/data/pdf/basic_test.js View 2 chunks +3 lines, -9 lines 0 comments Download
M chrome/test/data/pdf/viewport_test.js View 7 chunks +8 lines, -9 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
raymes
6 years, 7 months ago (2014-05-06 05:40:10 UTC) #1
Lei Zhang
In the CL description, you meant to say PDFMessagingFoo and not PDFScriptingFoo, right?
6 years, 7 months ago (2014-05-06 21:23:40 UTC) #2
Lei Zhang
https://codereview.chromium.org/266413002/diff/20001/chrome/browser/resources/pdf/pdf_scripting_api.js File chrome/browser/resources/pdf/pdf_scripting_api.js (right): https://codereview.chromium.org/266413002/diff/20001/chrome/browser/resources/pdf/pdf_scripting_api.js#newcode13 chrome/browser/resources/pdf/pdf_scripting_api.js:13: this.readyToReceive = false; Why is this variable no longer ...
6 years, 7 months ago (2014-05-06 21:33:47 UTC) #3
raymes
https://codereview.chromium.org/266413002/diff/20001/chrome/browser/resources/pdf/pdf_scripting_api.js File chrome/browser/resources/pdf/pdf_scripting_api.js (right): https://codereview.chromium.org/266413002/diff/20001/chrome/browser/resources/pdf/pdf_scripting_api.js#newcode13 chrome/browser/resources/pdf/pdf_scripting_api.js:13: this.readyToReceive = false; I have a follow-up CL where ...
6 years, 7 months ago (2014-05-07 00:30:00 UTC) #4
raymes
On 2014/05/07 00:30:00, raymes wrote: > https://codereview.chromium.org/266413002/diff/20001/chrome/browser/resources/pdf/pdf_scripting_api.js > File chrome/browser/resources/pdf/pdf_scripting_api.js (right): > > https://codereview.chromium.org/266413002/diff/20001/chrome/browser/resources/pdf/pdf_scripting_api.js#newcode13 > ...
6 years, 7 months ago (2014-05-09 05:17:43 UTC) #5
Lei Zhang
lgtm err, forgot about this
6 years, 7 months ago (2014-05-09 05:32:35 UTC) #6
raymes
The CQ bit was checked by raymes@chromium.org
6 years, 7 months ago (2014-05-09 06:22:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/266413002/20001
6 years, 7 months ago (2014-05-09 06:29:55 UTC) #8
raymes
The CQ bit was checked by raymes@chromium.org
6 years, 7 months ago (2014-05-09 06:31:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/266413002/40001
6 years, 7 months ago (2014-05-09 06:36:20 UTC) #10
commit-bot: I haz the power
6 years, 7 months ago (2014-05-10 06:31:59 UTC) #11
Message was sent while issue was closed.
Change committed as 269548

Powered by Google App Engine
This is Rietveld 408576698