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

Issue 477933003: OOP PDF - Add OpenPDFParamsParser class (Closed)

Created:
6 years, 3 months ago by Nikhil
Modified:
6 years, 3 months ago
Reviewers:
Lei Zhang, raymes
CC:
chromium-reviews, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

OOP PDF - Add OpenPDFParamsParser class This patch introduces OpenPDFParamsParser class which is responsible to parse open pdf parameters and set them in a dictionary. This dictionary will be used to set initial viewport settings when opening pdf document. BUG=303491 Committed: https://crrev.com/53b6e7a7c94dfdd0b2b5b8632776d5978bf46b91 Cr-Commit-Position: refs/heads/master@{#292360}

Patch Set 1 #

Patch Set 2 : Remove invalid comment and change method name #

Total comments: 6

Patch Set 3 : Review feedback (remove getter and setter) #

Total comments: 4

Patch Set 4 : Review feedback (update variable name) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -32 lines) Patch
A chrome/browser/resources/pdf/open_pdf_params_parser.js View 1 2 3 1 chunk +48 lines, -0 lines 0 comments Download
M chrome/browser/resources/pdf/pdf.js View 1 2 3 5 chunks +10 lines, -32 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Nikhil
n.bansal@samsung.com changed reviewers: + raymes@chromium.org
6 years, 3 months ago (2014-08-26 11:23:22 UTC) #1
Nikhil
PTAL at initial implementation of OpenPDFParamsParser class. If you've any review comments, then please let ...
6 years, 3 months ago (2014-08-26 11:25:06 UTC) #2
Nikhil
6 years, 3 months ago (2014-08-26 12:09:59 UTC) #3
raymes
https://codereview.chromium.org/477933003/diff/20001/chrome/browser/resources/pdf/pdf.js File chrome/browser/resources/pdf/pdf.js (right): https://codereview.chromium.org/477933003/diff/20001/chrome/browser/resources/pdf/pdf.js#newcode8 chrome/browser/resources/pdf/pdf.js:8: <include src="pdf_open_params_parser.js"> nit: can we call this file open_pdf_params_parser.js? ...
6 years, 3 months ago (2014-08-27 01:02:24 UTC) #4
Nikhil
Thanks raymes@ for the quick review! I've incorporated the review comments. PTAL. [*] Since we ...
6 years, 3 months ago (2014-08-27 10:16:10 UTC) #5
raymes
lgtm, thanks! https://codereview.chromium.org/477933003/diff/40001/chrome/browser/resources/pdf/open_pdf_params_parser.js File chrome/browser/resources/pdf/open_pdf_params_parser.js (right): https://codereview.chromium.org/477933003/diff/40001/chrome/browser/resources/pdf/open_pdf_params_parser.js#newcode14 chrome/browser/resources/pdf/open_pdf_params_parser.js:14: this.viewportSettings = {}; ditto here, maybe we ...
6 years, 3 months ago (2014-08-28 01:50:33 UTC) #6
Nikhil
Thanks for the quick review, Raymes :) I've updated the variable name like you suggested. ...
6 years, 3 months ago (2014-08-28 05:07:37 UTC) #7
Nikhil
n.bansal@samsung.com changed reviewers: + thestig@chromium.org
6 years, 3 months ago (2014-08-28 05:11:30 UTC) #8
Nikhil
thestig@ - Could you please take a look? I need OWNERS review to land this. ...
6 years, 3 months ago (2014-08-28 05:13:55 UTC) #9
Lei Zhang
lgtm
6 years, 3 months ago (2014-08-28 05:45:55 UTC) #10
Nikhil
Thanks raymes@ and thestig@ for reviewing this! I'm going to submit this now :)
6 years, 3 months ago (2014-08-28 06:56:32 UTC) #11
Nikhil
The CQ bit was checked by n.bansal@samsung.com
6 years, 3 months ago (2014-08-28 06:56:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/n.bansal@samsung.com/477933003/60001
6 years, 3 months ago (2014-08-28 06:57:48 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 539d26b7003ebf66ac3ee936cfb0e1f9b667c09f
6 years, 3 months ago (2014-08-28 11:00:00 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:58:51 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/53b6e7a7c94dfdd0b2b5b8632776d5978bf46b91
Cr-Commit-Position: refs/heads/master@{#292360}

Powered by Google App Engine
This is Rietveld 408576698