summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/Icon.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-07-28 12:59:09 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-28 12:59:09 -0700
commitcac704dd3e5c0e5900e898db4eff5a0948cef6fc (patch)
tree8e8e79dfccfa18162a689ae7fcb6c513a7ee21a0 /fpdfsdk/javascript/Icon.h
parent0600234fc65d52e4830ad2cc6c1723fb33c9414f (diff)
downloadpdfium-cac704dd3e5c0e5900e898db4eff5a0948cef6fc.tar.xz
Split fpdfdoc/include/fpdf_doc.h into individual classes.
This CL splits the header file apart. The cpp files are not touched as part of this CL, they will be done as a followup. This de-duplicates the fpdf_doc.h BUG=pdfium:249 Review-Url: https://codereview.chromium.org/2183313004
Diffstat (limited to 'fpdfsdk/javascript/Icon.h')
-rw-r--r--fpdfsdk/javascript/Icon.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fpdfsdk/javascript/Icon.h b/fpdfsdk/javascript/Icon.h
index bd125d8299..f8fa70e076 100644
--- a/fpdfsdk/javascript/Icon.h
+++ b/fpdfsdk/javascript/Icon.h
@@ -9,9 +9,11 @@
#include "fpdfsdk/javascript/JS_Define.h"
+class CPDF_Stream;
+
class Icon : public CJS_EmbedObj {
public:
- Icon(CJS_Object* pJSObject);
+ explicit Icon(CJS_Object* pJSObject);
~Icon() override;
FX_BOOL name(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError);
@@ -27,7 +29,7 @@ class Icon : public CJS_EmbedObj {
class CJS_Icon : public CJS_Object {
public:
- CJS_Icon(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {}
+ explicit CJS_Icon(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {}
~CJS_Icon() override {}
DECLARE_JS_CLASS();