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

Side by Side Diff: xfa/fwl/theme/cfwl_edittp.cpp

Issue 1952693003: Convert FWL_ERR into an enum class. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 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 | « xfa/fwl/theme/cfwl_edittp.h ('k') | xfa/fwl/theme/cfwl_formtp.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 #include "xfa/fwl/theme/cfwl_edittp.h" 7 #include "xfa/fwl/theme/cfwl_edittp.h"
8 8
9 #include "xfa/fwl/basewidget/ifwl_edit.h" 9 #include "xfa/fwl/basewidget/ifwl_edit.h"
10 #include "xfa/fwl/core/cfwl_themebackground.h" 10 #include "xfa/fwl/core/cfwl_themebackground.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 CFX_Color crLine(cr); 70 CFX_Color crLine(cr);
71 pParams->m_pGraphics->SetStrokeColor(&crLine); 71 pParams->m_pGraphics->SetStrokeColor(&crLine);
72 pParams->m_pGraphics->SetLineWidth(fWidth); 72 pParams->m_pGraphics->SetLineWidth(fWidth);
73 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix); 73 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix);
74 break; 74 break;
75 } 75 }
76 default: { break; } 76 default: { break; }
77 } 77 }
78 return TRUE; 78 return TRUE;
79 } 79 }
80 FWL_ERR CFWL_EditTP::Initialize() { 80 FWL_Error CFWL_EditTP::Initialize() {
81 InitTTO(); 81 InitTTO();
82 return CFWL_WidgetTP::Initialize(); 82 return CFWL_WidgetTP::Initialize();
83 } 83 }
84 FWL_ERR CFWL_EditTP::Finalize() { 84 FWL_Error CFWL_EditTP::Finalize() {
85 FinalizeTTO(); 85 FinalizeTTO();
86 return CFWL_WidgetTP::Finalize(); 86 return CFWL_WidgetTP::Finalize();
87 } 87 }
OLDNEW
« no previous file with comments | « xfa/fwl/theme/cfwl_edittp.h ('k') | xfa/fwl/theme/cfwl_formtp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698