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

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

Issue 1242263010: document.delay and document.external are boolean properties. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | fpdfsdk/src/javascript/Document.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 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_DOCUMENT_H_ 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_DOCUMENT_H_
8 #define FPDFSDK_INCLUDE_JAVASCRIPT_DOCUMENT_H_ 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_DOCUMENT_H_
9 9
10 #include "JS_Define.h" 10 #include "JS_Define.h"
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 CFX_WideString CutString(CFX_WideString cbFrom) ; 175 CFX_WideString CutString(CFX_WideString cbFrom) ;
176 bool IsEnclosedInRect(CFX_FloatRect r ect, CFX_FloatRect LinkRect); 176 bool IsEnclosedInRect(CFX_FloatRect r ect, CFX_FloatRect LinkRect);
177 int CountWords(CPDF_TextObject* pTex tObj); 177 int CountWords(CPDF_TextObject* pTex tObj);
178 CFX_WideString GetObjWordStr(CPDF_TextObject* p TextObj, int nWordIndex); 178 CFX_WideString GetObjWordStr(CPDF_TextObject* p TextObj, int nWordIndex);
179 FX_BOOL ParserParams(JSObject *pObj,CJS_ AnnotObj& annotobj); 179 FX_BOOL ParserParams(JSObject *pObj,CJS_ AnnotObj& annotobj);
180 180
181 v8::Isolate* m_isolate; 181 v8::Isolate* m_isolate;
182 IconTree* m_pIconTree; 182 IconTree* m_pIconTree;
183 CPDFSDK_Document* m_pDocument; 183 CPDFSDK_Document* m_pDocument;
184 CFX_WideString m_cwBaseURL; 184 CFX_WideString m_cwBaseURL;
185 » FX_BOOL m_bDelay; 185 » bool m_bDelay;
186 CFX_ArrayTemplate<CJS_DelayData*> m_DelayData; 186 CFX_ArrayTemplate<CJS_DelayData*> m_DelayData;
187 CFX_ArrayTemplate<CJS_AnnotObj*> m_DelayAnnotData; 187 CFX_ArrayTemplate<CJS_AnnotObj*> m_DelayAnnotData;
188 }; 188 };
189 189
190 class CJS_Document : public CJS_Object 190 class CJS_Document : public CJS_Object
191 { 191 {
192 public: 192 public:
193 CJS_Document(JSFXObject pObject) : CJS_Object(pObject) {}; 193 CJS_Document(JSFXObject pObject) : CJS_Object(pObject) {};
194 virtual ~CJS_Document(){}; 194 virtual ~CJS_Document(){};
195 195
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 JS_STATIC_METHOD(removeField, Document); 265 JS_STATIC_METHOD(removeField, Document);
266 JS_STATIC_METHOD(replacePages, Document); 266 JS_STATIC_METHOD(replacePages, Document);
267 JS_STATIC_METHOD(removeIcon, Document); 267 JS_STATIC_METHOD(removeIcon, Document);
268 JS_STATIC_METHOD(resetForm, Document); 268 JS_STATIC_METHOD(resetForm, Document);
269 JS_STATIC_METHOD(saveAs, Document); 269 JS_STATIC_METHOD(saveAs, Document);
270 JS_STATIC_METHOD(submitForm, Document); 270 JS_STATIC_METHOD(submitForm, Document);
271 JS_STATIC_METHOD(mailDoc, Document); 271 JS_STATIC_METHOD(mailDoc, Document);
272 }; 272 };
273 273
274 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_DOCUMENT_H_ 274 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_DOCUMENT_H_
OLDNEW
« no previous file with comments | « no previous file | fpdfsdk/src/javascript/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698