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

Issue 223363002: Convert the code in pdf.js to an object (Closed)

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

Description

Convert the code in pdf.js to an object This is a refactoring of the code in pdf.js, moving the code into a PDFViewer object. This will make it more testable and usable by other classes that will be added later. BUG=303491 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262917

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 7

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -220 lines) Patch
M chrome/browser/resources/pdf/pdf.js View 1 2 3 4 5 1 chunk +244 lines, -220 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
raymes
Hey koz, PTAL. This looks kinda scary but it's purely just shifting code around into ...
6 years, 8 months ago (2014-04-03 07:40:13 UTC) #1
koz (OOO until 15th September)
lgtm
6 years, 8 months ago (2014-04-04 00:16:44 UTC) #2
raymes
+arv for OWNERS
6 years, 8 months ago (2014-04-04 02:35:30 UTC) #3
arv (Not doing code reviews)
https://codereview.chromium.org/223363002/diff/80001/chrome/browser/resources/pdf/pdf.js File chrome/browser/resources/pdf/pdf.js (right): https://codereview.chromium.org/223363002/diff/80001/chrome/browser/resources/pdf/pdf.js#newcode18 chrome/browser/resources/pdf/pdf.js:18: this.sizer_ = $('sizer'); This pattern is a bit strange. ...
6 years, 8 months ago (2014-04-07 21:01:44 UTC) #4
raymes
https://codereview.chromium.org/223363002/diff/80001/chrome/browser/resources/pdf/pdf.js File chrome/browser/resources/pdf/pdf.js (right): https://codereview.chromium.org/223363002/diff/80001/chrome/browser/resources/pdf/pdf.js#newcode18 chrome/browser/resources/pdf/pdf.js:18: this.sizer_ = $('sizer'); On 2014/04/07 21:01:44, arv wrote: > ...
6 years, 8 months ago (2014-04-08 01:44:05 UTC) #5
raymes
Thanks!
6 years, 8 months ago (2014-04-08 01:44:10 UTC) #6
arv (Not doing code reviews)
https://codereview.chromium.org/223363002/diff/80001/chrome/browser/resources/pdf/pdf.js File chrome/browser/resources/pdf/pdf.js (right): https://codereview.chromium.org/223363002/diff/80001/chrome/browser/resources/pdf/pdf.js#newcode18 chrome/browser/resources/pdf/pdf.js:18: this.sizer_ = $('sizer'); On 2014/04/08 01:44:06, raymes wrote: > ...
6 years, 8 months ago (2014-04-08 16:36:22 UTC) #7
raymes
I should have mentioned that there is a particular reason I'm making it an object. ...
6 years, 8 months ago (2014-04-08 23:57:58 UTC) #8
arv (Not doing code reviews)
LGTM If you need it as an object in the future then this is fine.
6 years, 8 months ago (2014-04-09 16:44:46 UTC) #9
raymes
The CQ bit was checked by raymes@chromium.org
6 years, 8 months ago (2014-04-09 23:39:19 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/223363002/100001
6 years, 8 months ago (2014-04-09 23:40:12 UTC) #11
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 04:58:56 UTC) #12
Message was sent while issue was closed.
Change committed as 262917

Powered by Google App Engine
This is Rietveld 408576698