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/JS_Module.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/JS_Module.h')
-rw-r--r-- | fpdfsdk/include/javascript/JS_Module.h | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/fpdfsdk/include/javascript/JS_Module.h b/fpdfsdk/include/javascript/JS_Module.h deleted file mode 100644 index 1fcb583a9d..0000000000 --- a/fpdfsdk/include/javascript/JS_Module.h +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2014 PDFium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com - -#ifndef _JS_MODULE_H_ -#define _JS_MODULE_H_ - -class CJS_GlobalData; -class CJS_ConsoleDlg; - -class CJS_Module : public IReader_Module -{ -public: - CJS_Module(HMODULE hModule, CReader_App* pApp); - virtual ~CJS_Module(); - - virtual void Destroy(){delete this;} - virtual CFX_ByteString GetModuleName(); - -public: - static CJS_Module* GetModule(CReader_App* pApp); - - IFXJS_Runtime* NewJSRuntime(); - CJS_GlobalData* NewGlobalData(); - void ReleaseGlobalData(); - -public: - //console - void ShowConsole(); - void HideConsole(); - void ClearConsole(); - void PrintLineConsole(FX_LPCWSTR string); - -private: - HMODULE m_hModule; - CReader_App* m_pApp; - - FX_BOOL m_bInitial; - CJS_GlobalData* m_pGlobalData; - FX_INT32 m_nGlobalDataCount; - - CJS_ConsoleDlg* m_pConsole; -}; - -#endif //_JS_MODULE_H_
\ No newline at end of file |