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

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

Issue 1780093003: Remove CFX_DWordArray from Document.h (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase past rename Created 4 years, 9 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/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_JAVASCRIPT_DOCUMENT_H_ 7 #ifndef FPDFSDK_JAVASCRIPT_DOCUMENT_H_
8 #define FPDFSDK_JAVASCRIPT_DOCUMENT_H_ 8 #define FPDFSDK_JAVASCRIPT_DOCUMENT_H_
9 9
10 #include <list> 10 #include <list>
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 private: 268 private:
269 bool IsEnclosedInRect(CFX_FloatRect rect, CFX_FloatRect LinkRect); 269 bool IsEnclosedInRect(CFX_FloatRect rect, CFX_FloatRect LinkRect);
270 int CountWords(CPDF_TextObject* pTextObj); 270 int CountWords(CPDF_TextObject* pTextObj);
271 CFX_WideString GetObjWordStr(CPDF_TextObject* pTextObj, int nWordIndex); 271 CFX_WideString GetObjWordStr(CPDF_TextObject* pTextObj, int nWordIndex);
272 272
273 v8::Isolate* m_isolate; 273 v8::Isolate* m_isolate;
274 std::list<std::unique_ptr<IconElement>> m_IconList; 274 std::list<std::unique_ptr<IconElement>> m_IconList;
275 CPDFSDK_Document* m_pDocument; 275 CPDFSDK_Document* m_pDocument;
276 CFX_WideString m_cwBaseURL; 276 CFX_WideString m_cwBaseURL;
277 bool m_bDelay; 277 bool m_bDelay;
278 CFX_ArrayTemplate<CJS_DelayData*> m_DelayData; 278 std::list<std::unique_ptr<CJS_DelayData>> m_DelayData;
279 }; 279 };
280 280
281 class CJS_Document : public CJS_Object { 281 class CJS_Document : public CJS_Object {
282 public: 282 public:
283 explicit CJS_Document(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {} 283 explicit CJS_Document(v8::Local<v8::Object> pObject) : CJS_Object(pObject) {}
284 ~CJS_Document() override {} 284 ~CJS_Document() override {}
285 285
286 // CJS_Object 286 // CJS_Object
287 void InitInstance(IJS_Runtime* pIRuntime) override; 287 void InitInstance(IJS_Runtime* pIRuntime) override;
288 288
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 JS_STATIC_METHOD(removeField, Document); 356 JS_STATIC_METHOD(removeField, Document);
357 JS_STATIC_METHOD(replacePages, Document); 357 JS_STATIC_METHOD(replacePages, Document);
358 JS_STATIC_METHOD(removeIcon, Document); 358 JS_STATIC_METHOD(removeIcon, Document);
359 JS_STATIC_METHOD(resetForm, Document); 359 JS_STATIC_METHOD(resetForm, Document);
360 JS_STATIC_METHOD(saveAs, Document); 360 JS_STATIC_METHOD(saveAs, Document);
361 JS_STATIC_METHOD(submitForm, Document); 361 JS_STATIC_METHOD(submitForm, Document);
362 JS_STATIC_METHOD(mailDoc, Document); 362 JS_STATIC_METHOD(mailDoc, Document);
363 }; 363 };
364 364
365 #endif // FPDFSDK_JAVASCRIPT_DOCUMENT_H_ 365 #endif // FPDFSDK_JAVASCRIPT_DOCUMENT_H_
OLDNEW
« no previous file with comments | « no previous file | fpdfsdk/javascript/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698