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

Issue 2475923003: Implement FPDF_VIEWERREF_GetName() API. (Closed)

Created:
4 years, 1 month ago by Lei Zhang
Modified:
4 years, 1 month ago
Reviewers:
dsinclair
CC:
pdfium-reviews_googlegroups.com, jbreiden
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Implement FPDF_VIEWERREF_GetName() API. This is a generic API function to retrieve any viewer preference of type name. BUG=pdfium:414 Committed: https://pdfium.googlesource.com/pdfium/+/04bebfe590d6d27a825b881fd234e31501843edc

Patch Set 1 #

Patch Set 2 : Better organize unit test #

Total comments: 4

Patch Set 3 : Comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -62 lines) Patch
M core/fpdfdoc/cpdf_viewerpreferences.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M core/fpdfdoc/cpdf_viewerpreferences.cpp View 1 2 2 chunks +16 lines, -0 lines 0 comments Download
M fpdfsdk/fpdfview.cpp View 1 chunk +19 lines, -0 lines 0 comments Download
M fpdfsdk/fpdfview_c_api_test.c View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/fpdfview_embeddertest.cpp View 1 2 chunks +47 lines, -1 line 0 comments Download
M public/fpdf_doc.h View 1 chunk +1 line, -1 line 0 comments Download
M public/fpdfview.h View 1 chunk +19 lines, -0 lines 0 comments Download
A testing/resources/viewer_ref.in View 1 chunk +57 lines, -0 lines 0 comments Download
A + testing/resources/viewer_ref.pdf View 3 chunks +18 lines, -60 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
Lei Zhang
4 years, 1 month ago (2016-11-04 21:39:15 UTC) #6
dsinclair
https://codereview.chromium.org/2475923003/diff/20001/core/fpdfdoc/cpdf_viewerpreferences.h File core/fpdfdoc/cpdf_viewerpreferences.h (right): https://codereview.chromium.org/2475923003/diff/20001/core/fpdfdoc/cpdf_viewerpreferences.h#newcode27 core/fpdfdoc/cpdf_viewerpreferences.h:27: bool GenericName(const CFX_ByteString& bsKey, CFX_ByteString* bsVal) const; What is ...
4 years, 1 month ago (2016-11-04 22:25:11 UTC) #9
Lei Zhang
https://codereview.chromium.org/2475923003/diff/20001/core/fpdfdoc/cpdf_viewerpreferences.h File core/fpdfdoc/cpdf_viewerpreferences.h (right): https://codereview.chromium.org/2475923003/diff/20001/core/fpdfdoc/cpdf_viewerpreferences.h#newcode27 core/fpdfdoc/cpdf_viewerpreferences.h:27: bool GenericName(const CFX_ByteString& bsKey, CFX_ByteString* bsVal) const; On 2016/11/04 ...
4 years, 1 month ago (2016-11-04 22:30:27 UTC) #12
dsinclair
lgtm
4 years, 1 month ago (2016-11-04 23:06:57 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2475923003/40001
4 years, 1 month ago (2016-11-04 23:07:08 UTC) #17
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 23:07:28 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/04bebfe590d6d27a825b881fd234e3150184...

Powered by Google App Engine
This is Rietveld 408576698