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

Side by Side Diff: fpdfsdk/include/pdfwindow/PWL_ListBox.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/pdfwindow/PWL_ComboBox.h ('k') | fpdfsdk/include/pdfwindow/PWL_Note.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_PDFWINDOW_PWL_LISTBOX_H_ 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_ 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_
9 9
10 #include "fpdfsdk/include/fxedit/fx_edit.h" 10 #include "fpdfsdk/include/fxedit/fx_edit.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 intptr_t lParam = 0) override; 74 intptr_t lParam = 0) override;
75 void RePosChildWnd() override; 75 void RePosChildWnd() override;
76 CFX_FloatRect GetFocusRect() const override; 76 CFX_FloatRect GetFocusRect() const override;
77 void SetFontSize(FX_FLOAT fFontSize) override; 77 void SetFontSize(FX_FLOAT fFontSize) override;
78 FX_FLOAT GetFontSize() const override; 78 FX_FLOAT GetFontSize() const override;
79 79
80 virtual CFX_WideString GetText() const; 80 virtual CFX_WideString GetText() const;
81 81
82 void OnNotifySelChanged(FX_BOOL bKeyDown, FX_BOOL& bExit, FX_DWORD nFlag); 82 void OnNotifySelChanged(FX_BOOL bKeyDown, FX_BOOL& bExit, FX_DWORD nFlag);
83 83
84 void AddString(const FX_WCHAR* string); 84 void AddString(const FX_WCHAR* str);
85 void SetTopVisibleIndex(int32_t nItemIndex); 85 void SetTopVisibleIndex(int32_t nItemIndex);
86 void ScrollToListItem(int32_t nItemIndex); 86 void ScrollToListItem(int32_t nItemIndex);
87 void ResetContent(); 87 void ResetContent();
88 void Reset(); 88 void Reset();
89 void Select(int32_t nItemIndex); 89 void Select(int32_t nItemIndex);
90 void SetCaret(int32_t nItemIndex); 90 void SetCaret(int32_t nItemIndex);
91 void SetHoverSel(FX_BOOL bHoverSel); 91 void SetHoverSel(FX_BOOL bHoverSel);
92 92
93 int32_t GetCount() const; 93 int32_t GetCount() const;
94 FX_BOOL IsMultipleSel() const; 94 FX_BOOL IsMultipleSel() const;
(...skipping 18 matching lines...) Expand all
113 IPWL_Filler_Notify* m_pFillerNotify; 113 IPWL_Filler_Notify* m_pFillerNotify;
114 114
115 public: 115 public:
116 void AttachFFLData(void* pData) { m_pFormFiller = pData; } 116 void AttachFFLData(void* pData) { m_pFormFiller = pData; }
117 117
118 private: 118 private:
119 void* m_pFormFiller; 119 void* m_pFormFiller;
120 }; 120 };
121 121
122 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_ 122 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/pdfwindow/PWL_ComboBox.h ('k') | fpdfsdk/include/pdfwindow/PWL_Note.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698