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

Side by Side Diff: fpdfsdk/src/pdfwindow/PWL_Edit.cpp

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/src/pdfwindow/PWL_ComboBox.cpp ('k') | fpdfsdk/src/pdfwindow/PWL_ListBox.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 #include "fpdfsdk/include/pdfwindow/PWL_Edit.h" 7 #include "fpdfsdk/include/pdfwindow/PWL_Edit.h"
8 8
9 #include <vector>
10
9 #include "core/include/fxcrt/fx_safe_types.h" 11 #include "core/include/fxcrt/fx_safe_types.h"
10 #include "core/include/fxcrt/fx_xml.h" 12 #include "core/include/fxcrt/fx_xml.h"
11 #include "fpdfsdk/include/pdfwindow/PWL_Caret.h" 13 #include "fpdfsdk/include/pdfwindow/PWL_Caret.h"
12 #include "fpdfsdk/include/pdfwindow/PWL_EditCtrl.h" 14 #include "fpdfsdk/include/pdfwindow/PWL_EditCtrl.h"
13 #include "fpdfsdk/include/pdfwindow/PWL_FontMap.h" 15 #include "fpdfsdk/include/pdfwindow/PWL_FontMap.h"
14 #include "fpdfsdk/include/pdfwindow/PWL_ScrollBar.h" 16 #include "fpdfsdk/include/pdfwindow/PWL_ScrollBar.h"
15 #include "fpdfsdk/include/pdfwindow/PWL_Utils.h" 17 #include "fpdfsdk/include/pdfwindow/PWL_Utils.h"
16 #include "fpdfsdk/include/pdfwindow/PWL_Wnd.h" 18 #include "fpdfsdk/include/pdfwindow/PWL_Wnd.h"
17 #include "public/fpdf_fwlevent.h" 19 #include "public/fpdf_fwlevent.h"
18 #include "third_party/base/stl_util.h" 20 #include "third_party/base/stl_util.h"
(...skipping 1160 matching lines...) Expand 10 before | Expand all | Expand 10 after
1179 } 1181 }
1180 1182
1181 void CPWL_Edit::GeneratePageObjects(CPDF_PageObjectHolder* pObjectHolder, 1183 void CPWL_Edit::GeneratePageObjects(CPDF_PageObjectHolder* pObjectHolder,
1182 const CFX_FloatPoint& ptOffset) { 1184 const CFX_FloatPoint& ptOffset) {
1183 CFX_ArrayTemplate<CPDF_TextObject*> ObjArray; 1185 CFX_ArrayTemplate<CPDF_TextObject*> ObjArray;
1184 IFX_Edit::GeneratePageObjects( 1186 IFX_Edit::GeneratePageObjects(
1185 pObjectHolder, m_pEdit, ptOffset, NULL, 1187 pObjectHolder, m_pEdit, ptOffset, NULL,
1186 CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()), 1188 CPWL_Utils::PWLColorToFXColor(GetTextColor(), GetTransparency()),
1187 ObjArray); 1189 ObjArray);
1188 } 1190 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/pdfwindow/PWL_ComboBox.cpp ('k') | fpdfsdk/src/pdfwindow/PWL_ListBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698