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

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

Issue 1334833003: Merge to XFA: Remove some abstractions in fxjs_v8.h. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 3 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/Document.h ('k') | fpdfsdk/include/javascript/Icon.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 FPDFSDK_INCLUDE_JAVASCRIPT_FIELD_H_ 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_FIELD_H_
8 #define FPDFSDK_INCLUDE_JAVASCRIPT_FIELD_H_ 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_FIELD_H_
9 9
10 #include <string> // For std::wstring. 10 #include <string> // For std::wstring.
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 CFX_WideString m_FieldName; 526 CFX_WideString m_FieldName;
527 int m_nFormControlIndex; 527 int m_nFormControlIndex;
528 FX_BOOL m_bCanSet; 528 FX_BOOL m_bCanSet;
529 529
530 FX_BOOL m_bDelay; 530 FX_BOOL m_bDelay;
531 v8::Isolate* m_isolate; 531 v8::Isolate* m_isolate;
532 }; 532 };
533 533
534 class CJS_Field : public CJS_Object { 534 class CJS_Field : public CJS_Object {
535 public: 535 public:
536 CJS_Field(JSFXObject pObject) : CJS_Object(pObject) {} 536 CJS_Field(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {}
537 ~CJS_Field(void) override {} 537 ~CJS_Field(void) override {}
538 538
539 FX_BOOL InitInstance(IFXJS_Context* cc) override; 539 FX_BOOL InitInstance(IFXJS_Context* cc) override;
540 540
541 DECLARE_JS_CLASS(CJS_Field); 541 DECLARE_JS_CLASS(CJS_Field);
542 542
543 JS_STATIC_PROP(alignment, Field); 543 JS_STATIC_PROP(alignment, Field);
544 JS_STATIC_PROP(borderStyle, Field); 544 JS_STATIC_PROP(borderStyle, Field);
545 JS_STATIC_PROP(buttonAlignX, Field); 545 JS_STATIC_PROP(buttonAlignX, Field);
546 JS_STATIC_PROP(buttonAlignY, Field); 546 JS_STATIC_PROP(buttonAlignY, Field);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 JS_STATIC_METHOD(setLock, Field); 615 JS_STATIC_METHOD(setLock, Field);
616 JS_STATIC_METHOD(signatureGetModifications, Field); 616 JS_STATIC_METHOD(signatureGetModifications, Field);
617 JS_STATIC_METHOD(signatureGetSeedValue, Field); 617 JS_STATIC_METHOD(signatureGetSeedValue, Field);
618 JS_STATIC_METHOD(signatureInfo, Field); 618 JS_STATIC_METHOD(signatureInfo, Field);
619 JS_STATIC_METHOD(signatureSetSeedValue, Field); 619 JS_STATIC_METHOD(signatureSetSeedValue, Field);
620 JS_STATIC_METHOD(signatureSign, Field); 620 JS_STATIC_METHOD(signatureSign, Field);
621 JS_STATIC_METHOD(signatureValidate, Field); 621 JS_STATIC_METHOD(signatureValidate, Field);
622 }; 622 };
623 623
624 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_FIELD_H_ 624 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_FIELD_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/javascript/Document.h ('k') | fpdfsdk/include/javascript/Icon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698