diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-04-07 15:26:59 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-04-07 15:26:59 -0700 |
commit | 0415b381008dd0bcf2ed5da6f1371f1df396bc07 (patch) | |
tree | 35ee8a601e09f0c88ac5c32d7f668347fe20170c /fpdfsdk/include/javascript/Icon.h | |
parent | a6d40307bcc979214dd97fdae3d58dcc5ffa315a (diff) | |
download | pdfium-0415b381008dd0bcf2ed5da6f1371f1df396bc07.tar.xz |
Fix (nearly all) IWYU in fpdfskd/include/javascript/ headers.
Move some typedefs for v8 types into fxjs_v8.h wrapper to
avoid circular inclusions. Also delete JS_Module.h, as no
other file includes it.
BUG=https://code.google.com/p/pdfium/issues/detail?id=66
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1060133002
Diffstat (limited to 'fpdfsdk/include/javascript/Icon.h')
-rw-r--r-- | fpdfsdk/include/javascript/Icon.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fpdfsdk/include/javascript/Icon.h b/fpdfsdk/include/javascript/Icon.h index e07ae8e89b..097917a5e5 100644 --- a/fpdfsdk/include/javascript/Icon.h +++ b/fpdfsdk/include/javascript/Icon.h @@ -7,20 +7,19 @@ #ifndef _ICON_H_ #define _ICON_H_ +#include "JS_Define.h" + class Icon : public CJS_EmbedObj { public: Icon(CJS_Object* pJSObject); virtual ~Icon(); - -public: FX_BOOL name(IFXJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError); - -public: void SetStream(CPDF_Stream* pIconStream); CPDF_Stream* GetStream(); void SetIconName(CFX_WideString name); CFX_WideString GetIconName(); + private: CPDF_Stream* m_pIconStream; CFX_WideString m_swIconName; |