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

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
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" 11 #include "fpdfsdk/javascript/JS_Context.h"
13 #include "fpdfsdk/javascript/JS_Define.h" 12 #include "fpdfsdk/javascript/JS_Define.h"
14 #include "fpdfsdk/javascript/JS_Object.h" 13 #include "fpdfsdk/javascript/JS_Object.h"
15 #include "fpdfsdk/javascript/JS_Runtime.h" 14 #include "fpdfsdk/javascript/JS_Runtime.h"
16 #include "fpdfsdk/javascript/JS_Value.h" 15 #include "fpdfsdk/javascript/JS_Value.h"
17 16
18 /* ---------------------------- CJS_EventHandler ---------------------------- */ 17 /* ---------------------------- CJS_EventHandler ---------------------------- */
Tom Sepez 2016/03/31 16:23:28 same here.
dsinclair 2016/03/31 17:00:40 Done.
19 18
20 CJS_EventHandler::CJS_EventHandler(CJS_Context* pContext) 19 CJS_EventHandler::CJS_EventHandler(CJS_Context* pContext)
21 : m_pJSContext(pContext), 20 : m_pJSContext(pContext),
22 m_eEventType(JET_UNKNOWN), 21 m_eEventType(JET_UNKNOWN),
23 m_bValid(FALSE), 22 m_bValid(FALSE),
24 m_pWideStrChange(NULL), 23 m_pWideStrChange(NULL),
25 m_nCommitKey(-1), 24 m_nCommitKey(-1),
26 m_bKeyDown(FALSE), 25 m_bKeyDown(FALSE),
27 m_bModifier(FALSE), 26 m_bModifier(FALSE),
28 m_bShift(FALSE), 27 m_bShift(FALSE),
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 return *m_pValue; 645 return *m_pValue;
647 } 646 }
648 647
649 FX_BOOL CJS_EventHandler::WillCommit() { 648 FX_BOOL CJS_EventHandler::WillCommit() {
650 return m_bWillCommit; 649 return m_bWillCommit;
651 } 650 }
652 651
653 CFX_WideString CJS_EventHandler::TargetName() { 652 CFX_WideString CJS_EventHandler::TargetName() {
654 return m_strTargetName; 653 return m_strTargetName;
655 } 654 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698