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

Side by Side Diff: fpdfsdk/include/fxedit/fx_edit.h

Issue 1700183002: Remove CFX_PtrList from renderer main loop. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Nits. Created 4 years, 10 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 | « core/src/fpdftext/text_int.h ('k') | fpdfsdk/include/pdfwindow/PWL_Edit.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_FXEDIT_FX_EDIT_H_ 7 #ifndef FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_
8 #define FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_ 8 #define FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_
9 9
10 #include "core/include/fpdfapi/fpdf_parser.h" 10 #include "core/include/fpdfapi/fpdf_parser.h"
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 const CPDF_Rect& rcClip, 451 const CPDF_Rect& rcClip,
452 const CPDF_Point& ptOffset, 452 const CPDF_Point& ptOffset,
453 const CPVT_WordRange* pRange); 453 const CPVT_WordRange* pRange);
454 static void DrawRichEdit(CFX_RenderDevice* pDevice, 454 static void DrawRichEdit(CFX_RenderDevice* pDevice,
455 CFX_Matrix* pUser2Device, 455 CFX_Matrix* pUser2Device,
456 IFX_Edit* pEdit, 456 IFX_Edit* pEdit,
457 const CPDF_Rect& rcClip, 457 const CPDF_Rect& rcClip,
458 const CPDF_Point& ptOffset, 458 const CPDF_Point& ptOffset,
459 const CPVT_WordRange* pRange); 459 const CPVT_WordRange* pRange);
460 static void GeneratePageObjects( 460 static void GeneratePageObjects(
461 CPDF_PageObjectHolder* pPageObjects, 461 CPDF_PageObjectHolder* pObjectHolder,
462 IFX_Edit* pEdit, 462 IFX_Edit* pEdit,
463 const CPDF_Point& ptOffset, 463 const CPDF_Point& ptOffset,
464 const CPVT_WordRange* pRange, 464 const CPVT_WordRange* pRange,
465 FX_COLORREF crText, 465 FX_COLORREF crText,
466 CFX_ArrayTemplate<CPDF_TextObject*>& ObjArray); 466 CFX_ArrayTemplate<CPDF_TextObject*>& ObjArray);
467 static void GenerateRichPageObjects( 467 static void GenerateRichPageObjects(
468 CPDF_PageObjectHolder* pPageObjects, 468 CPDF_PageObjectHolder* pObjectHolder,
469 IFX_Edit* pEdit, 469 IFX_Edit* pEdit,
470 const CPDF_Point& ptOffset, 470 const CPDF_Point& ptOffset,
471 const CPVT_WordRange* pRange, 471 const CPVT_WordRange* pRange,
472 CFX_ArrayTemplate<CPDF_TextObject*>& ObjArray); 472 CFX_ArrayTemplate<CPDF_TextObject*>& ObjArray);
473 static void GenerateUnderlineObjects(CPDF_PageObjectHolder* pPageObjects, 473 static void GenerateUnderlineObjects(CPDF_PageObjectHolder* pObjectHolder,
474 IFX_Edit* pEdit, 474 IFX_Edit* pEdit,
475 const CPDF_Point& ptOffset, 475 const CPDF_Point& ptOffset,
476 const CPVT_WordRange* pRange, 476 const CPVT_WordRange* pRange,
477 FX_COLORREF color); 477 FX_COLORREF color);
478 478
479 protected: 479 protected:
480 virtual ~IFX_Edit() {} 480 virtual ~IFX_Edit() {}
481 }; 481 };
482 482
483 class IFX_List_Notify { 483 class IFX_List_Notify {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 protected: 567 protected:
568 virtual ~IFX_List() {} 568 virtual ~IFX_List() {}
569 }; 569 };
570 570
571 CFX_ByteString GetPDFWordString(IFX_Edit_FontMap* pFontMap, 571 CFX_ByteString GetPDFWordString(IFX_Edit_FontMap* pFontMap,
572 int32_t nFontIndex, 572 int32_t nFontIndex,
573 FX_WORD Word, 573 FX_WORD Word,
574 FX_WORD SubWord); 574 FX_WORD SubWord);
575 575
576 #endif // FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_ 576 #endif // FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_
OLDNEW
« no previous file with comments | « core/src/fpdftext/text_int.h ('k') | fpdfsdk/include/pdfwindow/PWL_Edit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698