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

Side by Side Diff: xfa/fwl/cfwl_barcode.cpp

Issue 2559173002: Move xfa/fwl/core to xfa/fwl. (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
« no previous file with comments | « xfa/fwl/cfwl_barcode.h ('k') | xfa/fwl/cfwl_caret.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/core/cfwl_barcode.h" 7 #include "xfa/fwl/cfwl_barcode.h"
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "third_party/base/ptr_util.h" 11 #include "third_party/base/ptr_util.h"
12 #include "xfa/fgas/font/cfgas_gefont.h" 12 #include "xfa/fgas/font/cfgas_gefont.h"
13 #include "xfa/fwl/core/cfwl_notedriver.h" 13 #include "xfa/fwl/cfwl_notedriver.h"
14 #include "xfa/fwl/core/cfwl_themepart.h" 14 #include "xfa/fwl/cfwl_themepart.h"
15 #include "xfa/fwl/core/cfx_barcode.h" 15 #include "xfa/fwl/cfx_barcode.h"
16 #include "xfa/fwl/core/ifwl_themeprovider.h" 16 #include "xfa/fwl/ifwl_themeprovider.h"
17 17
18 CFWL_Barcode::CFWL_Barcode(const CFWL_App* app) 18 CFWL_Barcode::CFWL_Barcode(const CFWL_App* app)
19 : CFWL_Edit(app, pdfium::MakeUnique<CFWL_WidgetProperties>(), nullptr), 19 : CFWL_Edit(app, pdfium::MakeUnique<CFWL_WidgetProperties>(), nullptr),
20 m_dwStatus(0), 20 m_dwStatus(0),
21 m_type(BC_UNKNOWN), 21 m_type(BC_UNKNOWN),
22 m_dwAttributeMask(FWL_BCDATTRIBUTE_NONE) {} 22 m_dwAttributeMask(FWL_BCDATTRIBUTE_NONE) {}
23 23
24 CFWL_Barcode::~CFWL_Barcode() {} 24 CFWL_Barcode::~CFWL_Barcode() {}
25 25
26 FWL_Type CFWL_Barcode::GetClassID() const { 26 FWL_Type CFWL_Barcode::GetClassID() const {
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 } 223 }
224 224
225 void CFWL_Barcode::CreateBarcodeEngine() { 225 void CFWL_Barcode::CreateBarcodeEngine() {
226 if (m_pBarcodeEngine || m_type == BC_UNKNOWN) 226 if (m_pBarcodeEngine || m_type == BC_UNKNOWN)
227 return; 227 return;
228 228
229 std::unique_ptr<CFX_Barcode> pBarcode(new CFX_Barcode); 229 std::unique_ptr<CFX_Barcode> pBarcode(new CFX_Barcode);
230 if (pBarcode->Create(m_type)) 230 if (pBarcode->Create(m_type))
231 m_pBarcodeEngine = std::move(pBarcode); 231 m_pBarcodeEngine = std::move(pBarcode);
232 } 232 }
OLDNEW
« no previous file with comments | « xfa/fwl/cfwl_barcode.h ('k') | xfa/fwl/cfwl_caret.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698