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

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

Issue 1773733002: Review and cleanup lint warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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 | « fpdfsdk/include/fx_systemhandler.h ('k') | fpdfsdk/include/fxedit/fxet_list.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 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 535
536 virtual void SetScrollPos(const CFX_FloatPoint& point) = 0; 536 virtual void SetScrollPos(const CFX_FloatPoint& point) = 0;
537 virtual void ScrollToListItem(int32_t nItemIndex) = 0; 537 virtual void ScrollToListItem(int32_t nItemIndex) = 0;
538 virtual CFX_FloatRect GetItemRect(int32_t nIndex) const = 0; 538 virtual CFX_FloatRect GetItemRect(int32_t nIndex) const = 0;
539 virtual int32_t GetCaret() const = 0; 539 virtual int32_t GetCaret() const = 0;
540 virtual int32_t GetSelect() const = 0; 540 virtual int32_t GetSelect() const = 0;
541 virtual int32_t GetTopItem() const = 0; 541 virtual int32_t GetTopItem() const = 0;
542 virtual int32_t GetItemIndex(const CFX_FloatPoint& point) const = 0; 542 virtual int32_t GetItemIndex(const CFX_FloatPoint& point) const = 0;
543 virtual int32_t GetFirstSelected() const = 0; 543 virtual int32_t GetFirstSelected() const = 0;
544 544
545 virtual void AddString(const FX_WCHAR* string) = 0; 545 virtual void AddString(const FX_WCHAR* str) = 0;
546 virtual void SetTopItem(int32_t nIndex) = 0; 546 virtual void SetTopItem(int32_t nIndex) = 0;
547 virtual void Select(int32_t nItemIndex) = 0; 547 virtual void Select(int32_t nItemIndex) = 0;
548 virtual void SetCaret(int32_t nItemIndex) = 0; 548 virtual void SetCaret(int32_t nItemIndex) = 0;
549 virtual void Empty() = 0; 549 virtual void Empty() = 0;
550 virtual void Cancel() = 0; 550 virtual void Cancel() = 0;
551 virtual CFX_WideString GetText() const = 0; 551 virtual CFX_WideString GetText() const = 0;
552 552
553 virtual void OnMouseDown(const CFX_FloatPoint& point, 553 virtual void OnMouseDown(const CFX_FloatPoint& point,
554 FX_BOOL bShift, 554 FX_BOOL bShift,
555 FX_BOOL bCtrl) = 0; 555 FX_BOOL bCtrl) = 0;
(...skipping 12 matching lines...) Expand all
568 protected: 568 protected:
569 virtual ~IFX_List() {} 569 virtual ~IFX_List() {}
570 }; 570 };
571 571
572 CFX_ByteString GetPDFWordString(IFX_Edit_FontMap* pFontMap, 572 CFX_ByteString GetPDFWordString(IFX_Edit_FontMap* pFontMap,
573 int32_t nFontIndex, 573 int32_t nFontIndex,
574 FX_WORD Word, 574 FX_WORD Word,
575 FX_WORD SubWord); 575 FX_WORD SubWord);
576 576
577 #endif // FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_ 577 #endif // FPDFSDK_INCLUDE_FXEDIT_FX_EDIT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/fx_systemhandler.h ('k') | fpdfsdk/include/fxedit/fxet_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698