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

Side by Side Diff: fpdfsdk/include/javascript/JS_Context.h

Issue 1065103002: Merge to XFA: Fix (nearly all) IWYU in fpdfskd/include/javascript/ headers. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 months 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 unified diff | Download patch
« no previous file with comments | « fpdfsdk/include/javascript/Icon.h ('k') | fpdfsdk/include/javascript/JS_Define.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef _JS_CONTEXT_H_ 7 #ifndef _JS_CONTEXT_H_
8 #define _JS_CONTEXT_H_ 8 #define _JS_CONTEXT_H_
9 9
10 #include "../../../core/include/fxcrt/fx_system.h"
11 #include "../../../core/include/fxcrt/fx_string.h"
12 #include "IJavaScript.h"
13
10 class CJS_EventHandler; 14 class CJS_EventHandler;
11 class CJS_Runtime; 15 class CJS_Runtime;
12 16
13 class CJS_Context : public IFXJS_Context 17 class CJS_Context : public IFXJS_Context
14 { 18 {
15 public: 19 public:
16 CJS_Context(CJS_Runtime* pRuntime); 20 CJS_Context(CJS_Runtime* pRuntime);
17 virtual ~CJS_Context(); 21 virtual ~CJS_Context();
18 22
19 public: 23 public:
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 96
93 // static CFX_WideString JSGetStringFromID(CJS_Context* pContext, UINT ID) 97 // static CFX_WideString JSGetStringFromID(CJS_Context* pContext, UINT ID)
94 // { 98 // {
95 // ASSERT(pContext != NULL); 99 // ASSERT(pContext != NULL);
96 // 100 //
97 // return JS_LoadString(pContext->GetReaderApp(), ID); 101 // return JS_LoadString(pContext->GetReaderApp(), ID);
98 // } 102 // }
99 103
100 #endif //_JS_CONTEXT_H_ 104 #endif //_JS_CONTEXT_H_
101 105
OLDNEW
« no previous file with comments | « fpdfsdk/include/javascript/Icon.h ('k') | fpdfsdk/include/javascript/JS_Define.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698