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

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

Issue 1147353006: Move fx_safe_types.h to include/ directory. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 6 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/fpdfview.cpp ('k') | pdfium.gyp » ('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 "../../../core/include/fxcrt/fx_safe_types.h"
7 #include "../../include/pdfwindow/PDFWindow.h" 8 #include "../../include/pdfwindow/PDFWindow.h"
8 #include "../../include/pdfwindow/PWL_Wnd.h" 9 #include "../../include/pdfwindow/PWL_Caret.h"
10 #include "../../include/pdfwindow/PWL_Edit.h"
9 #include "../../include/pdfwindow/PWL_EditCtrl.h" 11 #include "../../include/pdfwindow/PWL_EditCtrl.h"
10 #include "../../include/pdfwindow/PWL_Edit.h" 12 #include "../../include/pdfwindow/PWL_FontMap.h"
11 #include "../../include/pdfwindow/PWL_ScrollBar.h" 13 #include "../../include/pdfwindow/PWL_ScrollBar.h"
12 #include "../../include/pdfwindow/PWL_Utils.h" 14 #include "../../include/pdfwindow/PWL_Utils.h"
13 #include "../../include/pdfwindow/PWL_Caret.h" 15 #include "../../include/pdfwindow/PWL_Wnd.h"
14 #include "../../include/pdfwindow/PWL_FontMap.h"
15 #include "../../../core/src/fxcrt/fx_safe_types.h"
16 16
17 /* ---------------------------- CPWL_Edit ------------------------------ */ 17 /* ---------------------------- CPWL_Edit ------------------------------ */
18 18
19 CPWL_Edit::CPWL_Edit() : m_pFillerNotify(NULL), 19 CPWL_Edit::CPWL_Edit() : m_pFillerNotify(NULL),
20 m_pSpellCheck(NULL), 20 m_pSpellCheck(NULL),
21 m_bFocus(FALSE) 21 m_bFocus(FALSE)
22 { 22 {
23 m_pFormFiller = NULL; 23 m_pFormFiller = NULL;
24 } 24 }
25 25
(...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after
1311 IFX_Edit::GeneratePageObjects(pPageObjects, m_pEdit, ptOffset, NULL, CPW L_Utils::PWLColorToFXColor(GetTextColor(),GetTransparency()), ObjArray); 1311 IFX_Edit::GeneratePageObjects(pPageObjects, m_pEdit, ptOffset, NULL, CPW L_Utils::PWLColorToFXColor(GetTextColor(),GetTransparency()), ObjArray);
1312 } 1312 }
1313 1313
1314 void CPWL_Edit::GeneratePageObjects(CPDF_PageObjects* pPageObjects, 1314 void CPWL_Edit::GeneratePageObjects(CPDF_PageObjects* pPageObjects,
1315 const CP DF_Point& ptOffset) 1315 const CP DF_Point& ptOffset)
1316 { 1316 {
1317 CFX_ArrayTemplate<CPDF_TextObject*> ObjArray; 1317 CFX_ArrayTemplate<CPDF_TextObject*> ObjArray;
1318 IFX_Edit::GeneratePageObjects(pPageObjects, m_pEdit, ptOffset, NULL, CPW L_Utils::PWLColorToFXColor(GetTextColor(),GetTransparency()), ObjArray); 1318 IFX_Edit::GeneratePageObjects(pPageObjects, m_pEdit, ptOffset, NULL, CPW L_Utils::PWLColorToFXColor(GetTextColor(),GetTransparency()), ObjArray);
1319 } 1319 }
1320 1320
OLDNEW
« no previous file with comments | « fpdfsdk/src/fpdfview.cpp ('k') | pdfium.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698