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

Side by Side Diff: xfa/fwl/core/ifwl_barcode.cpp

Issue 2524493002: Clean up CFGAS_GEFont (Closed)
Patch Set: Created 4 years 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
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/core/ifwl_barcode.h" 7 #include "xfa/fwl/core/ifwl_barcode.h"
8 8
9 #include "third_party/base/ptr_util.h" 9 #include "third_party/base/ptr_util.h"
10 #include "xfa/fgas/font/fgas_gefont.h" 10 #include "xfa/fgas/font/cfgas_gefont.h"
11 #include "xfa/fwl/core/cfwl_themepart.h" 11 #include "xfa/fwl/core/cfwl_themepart.h"
12 #include "xfa/fwl/core/cfx_barcode.h" 12 #include "xfa/fwl/core/cfx_barcode.h"
13 #include "xfa/fwl/core/fwl_noteimp.h" 13 #include "xfa/fwl/core/fwl_noteimp.h"
14 #include "xfa/fwl/core/ifwl_themeprovider.h" 14 #include "xfa/fwl/core/ifwl_themeprovider.h"
15 15
16 IFWL_Barcode::IFWL_Barcode(const IFWL_App* app, 16 IFWL_Barcode::IFWL_Barcode(const IFWL_App* app,
17 std::unique_ptr<CFWL_WidgetProperties> properties) 17 std::unique_ptr<CFWL_WidgetProperties> properties)
18 : IFWL_Edit(app, std::move(properties), nullptr), 18 : IFWL_Edit(app, std::move(properties), nullptr),
19 m_dwStatus(0), 19 m_dwStatus(0),
20 m_type(BC_UNKNOWN) {} 20 m_type(BC_UNKNOWN) {}
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 return false; 166 return false;
167 } 167 }
168 168
169 void IFWL_Barcode::OnProcessEvent(CFWL_Event* pEvent) { 169 void IFWL_Barcode::OnProcessEvent(CFWL_Event* pEvent) {
170 if (pEvent->GetClassID() == CFWL_EventType::TextChanged) { 170 if (pEvent->GetClassID() == CFWL_EventType::TextChanged) {
171 m_pBarcodeEngine.reset(); 171 m_pBarcodeEngine.reset();
172 m_dwStatus = XFA_BCS_NeedUpdate; 172 m_dwStatus = XFA_BCS_NeedUpdate;
173 } 173 }
174 IFWL_Edit::OnProcessEvent(pEvent); 174 IFWL_Edit::OnProcessEvent(pEvent);
175 } 175 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698