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

Side by Side Diff: fpdfsdk/javascript/JS_EventHandler.cpp

Issue 1847583004: Move the fpdfsdk/include/javascript folder (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 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/javascript/JS_Context.cpp ('k') | fpdfsdk/javascript/JS_GlobalData.cpp » ('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 #include "fpdfsdk/javascript/JS_EventHandler.h" 7 #include "fpdfsdk/javascript/JS_EventHandler.h"
8 8
9 #include "fpdfsdk/include/javascript/IJavaScript.h"
10 #include "fpdfsdk/javascript/Document.h" 9 #include "fpdfsdk/javascript/Document.h"
11 #include "fpdfsdk/javascript/Field.h" 10 #include "fpdfsdk/javascript/Field.h"
12 #include "fpdfsdk/javascript/JS_Context.h"
13 #include "fpdfsdk/javascript/JS_Define.h" 11 #include "fpdfsdk/javascript/JS_Define.h"
14 #include "fpdfsdk/javascript/JS_Object.h" 12 #include "fpdfsdk/javascript/JS_Object.h"
15 #include "fpdfsdk/javascript/JS_Runtime.h"
16 #include "fpdfsdk/javascript/JS_Value.h" 13 #include "fpdfsdk/javascript/JS_Value.h"
17 14 #include "fpdfsdk/javascript/cjs_context.h"
18 /* ---------------------------- CJS_EventHandler ---------------------------- */ 15 #include "fpdfsdk/javascript/cjs_runtime.h"
19 16
20 CJS_EventHandler::CJS_EventHandler(CJS_Context* pContext) 17 CJS_EventHandler::CJS_EventHandler(CJS_Context* pContext)
21 : m_pJSContext(pContext), 18 : m_pJSContext(pContext),
22 m_eEventType(JET_UNKNOWN), 19 m_eEventType(JET_UNKNOWN),
23 m_bValid(FALSE), 20 m_bValid(FALSE),
24 m_pWideStrChange(NULL), 21 m_pWideStrChange(NULL),
25 m_nCommitKey(-1), 22 m_nCommitKey(-1),
26 m_bKeyDown(FALSE), 23 m_bKeyDown(FALSE),
27 m_bModifier(FALSE), 24 m_bModifier(FALSE),
28 m_bShift(FALSE), 25 m_bShift(FALSE),
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 return *m_pValue; 643 return *m_pValue;
647 } 644 }
648 645
649 FX_BOOL CJS_EventHandler::WillCommit() { 646 FX_BOOL CJS_EventHandler::WillCommit() {
650 return m_bWillCommit; 647 return m_bWillCommit;
651 } 648 }
652 649
653 CFX_WideString CJS_EventHandler::TargetName() { 650 CFX_WideString CJS_EventHandler::TargetName() {
654 return m_strTargetName; 651 return m_strTargetName;
655 } 652 }
OLDNEW
« no previous file with comments | « fpdfsdk/javascript/JS_Context.cpp ('k') | fpdfsdk/javascript/JS_GlobalData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698