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

Unified Diff: core/fpdfdoc/cpdf_viewerpreferences.h

Issue 2475923003: Implement FPDF_VIEWERREF_GetName() API. (Closed)
Patch Set: Better organize unit test Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/fpdfdoc/cpdf_viewerpreferences.cpp » ('j') | fpdfsdk/fpdfview.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfdoc/cpdf_viewerpreferences.h
diff --git a/core/fpdfdoc/cpdf_viewerpreferences.h b/core/fpdfdoc/cpdf_viewerpreferences.h
index c64292d9f91314fd73a56888b193f287ec2a5c72..f130e543f528268e4b2bb57f1501aca10715d681 100644
--- a/core/fpdfdoc/cpdf_viewerpreferences.h
+++ b/core/fpdfdoc/cpdf_viewerpreferences.h
@@ -24,6 +24,7 @@ class CPDF_ViewerPreferences {
int32_t NumCopies() const;
CPDF_Array* PrintPageRange() const;
CFX_ByteString Duplex() const;
+ bool GenericName(const CFX_ByteString& bsKey, CFX_ByteString* bsVal) const;
dsinclair 2016/11/04 22:25:10 What is the ownership of bsVal? Can you add a comm
Lei Zhang 2016/11/04 22:30:27 Done.
private:
CPDF_Dictionary* GetViewerPreferences() const;
« no previous file with comments | « no previous file | core/fpdfdoc/cpdf_viewerpreferences.cpp » ('j') | fpdfsdk/fpdfview.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698