| OLD | NEW |
| 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 FPDFSDK_INCLUDE_JAVASCRIPT_JS_EVENTHANDLER_H_ | 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_JS_EVENTHANDLER_H_ |
| 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_JS_EVENTHANDLER_H_ | 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_JS_EVENTHANDLER_H_ |
| 9 | 9 |
| 10 #include "../../../core/include/fxcrt/fx_string.h" | 10 #include "../../../core/include/fxcrt/fx_string.h" |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 FX_BOOL& Rc(); | 178 FX_BOOL& Rc(); |
| 179 int& SelEnd(); | 179 int& SelEnd(); |
| 180 int& SelStart(); | 180 int& SelStart(); |
| 181 FX_BOOL Shift(); | 181 FX_BOOL Shift(); |
| 182 Field* Source(); | 182 Field* Source(); |
| 183 Field* Target_Field(); | 183 Field* Target_Field(); |
| 184 CFX_WideString& Value(); | 184 CFX_WideString& Value(); |
| 185 FX_BOOL WillCommit(); | 185 FX_BOOL WillCommit(); |
| 186 CFX_WideString TargetName(); | 186 CFX_WideString TargetName(); |
| 187 | 187 |
| 188 JS_EVENT_T EventType() { return m_eEventType; }; | 188 JS_EVENT_T EventType() { return m_eEventType; } |
| 189 | 189 |
| 190 public: | 190 public: |
| 191 CJS_Context* m_pJSContext; | 191 CJS_Context* m_pJSContext; |
| 192 JS_EVENT_T m_eEventType; | 192 JS_EVENT_T m_eEventType; |
| 193 FX_BOOL m_bValid; | 193 FX_BOOL m_bValid; |
| 194 | 194 |
| 195 CFX_WideString m_strTargetName; | 195 CFX_WideString m_strTargetName; |
| 196 CFX_WideString m_strSourceName; | 196 CFX_WideString m_strSourceName; |
| 197 CFX_WideString* m_pWideStrChange; | 197 CFX_WideString* m_pWideStrChange; |
| 198 CFX_WideString m_WideStrChangeDu; | 198 CFX_WideString m_WideStrChangeDu; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 211 FX_BOOL* m_pbRc; | 211 FX_BOOL* m_pbRc; |
| 212 FX_BOOL m_bRcDu; | 212 FX_BOOL m_bRcDu; |
| 213 | 213 |
| 214 CPDFSDK_Document* m_pSourceDoc; | 214 CPDFSDK_Document* m_pSourceDoc; |
| 215 CPDF_Bookmark* m_pTargetBookMark; | 215 CPDF_Bookmark* m_pTargetBookMark; |
| 216 CPDFSDK_Document* m_pTargetDoc; | 216 CPDFSDK_Document* m_pTargetDoc; |
| 217 CPDFSDK_Annot* m_pTargetAnnot; | 217 CPDFSDK_Annot* m_pTargetAnnot; |
| 218 }; | 218 }; |
| 219 | 219 |
| 220 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_JS_EVENTHANDLER_H_ | 220 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_JS_EVENTHANDLER_H_ |
| OLD | NEW |