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

Side by Side Diff: xfa/fxfa/app/xfa_ffbarcode.cpp

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master 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 | « xfa/fxfa/app/xfa_ffbarcode.h ('k') | xfa/fxfa/app/xfa_ffcheckbutton.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/src/fxfa/app/xfa_ffbarcode.h" 7 #include "xfa/fxfa/app/xfa_ffbarcode.h"
8 8
9 #include "core/include/fxcrt/fx_ext.h" 9 #include "core/include/fxcrt/fx_ext.h"
10 #include "xfa/fxfa/app/xfa_fffield.h"
11 #include "xfa/fxfa/app/xfa_ffpageview.h"
12 #include "xfa/fxfa/app/xfa_fftextedit.h"
13 #include "xfa/fxfa/app/xfa_ffwidget.h"
14 #include "xfa/fxfa/app/xfa_fwladapter.h"
10 #include "xfa/include/fwl/core/fwl_app.h" 15 #include "xfa/include/fwl/core/fwl_app.h"
11 #include "xfa/include/fwl/lightwidget/barcode.h" 16 #include "xfa/include/fwl/lightwidget/barcode.h"
12 #include "xfa/src/fxfa/app/xfa_fffield.h"
13 #include "xfa/src/fxfa/app/xfa_ffpageview.h"
14 #include "xfa/src/fxfa/app/xfa_fftextedit.h"
15 #include "xfa/src/fxfa/app/xfa_ffwidget.h"
16 #include "xfa/src/fxfa/app/xfa_fwladapter.h"
17 17
18 static XFA_LPCBARCODETYPEENUMINFO XFA_GetBarcodeTypeByName( 18 static XFA_LPCBARCODETYPEENUMINFO XFA_GetBarcodeTypeByName(
19 const CFX_WideStringC& wsName); 19 const CFX_WideStringC& wsName);
20 CXFA_FFBarcode::CXFA_FFBarcode(CXFA_FFPageView* pPageView, 20 CXFA_FFBarcode::CXFA_FFBarcode(CXFA_FFPageView* pPageView,
21 CXFA_WidgetAcc* pDataAcc) 21 CXFA_WidgetAcc* pDataAcc)
22 : CXFA_FFTextEdit(pPageView, pDataAcc) {} 22 : CXFA_FFTextEdit(pPageView, pDataAcc) {}
23 CXFA_FFBarcode::~CXFA_FFBarcode() {} 23 CXFA_FFBarcode::~CXFA_FFBarcode() {}
24 FX_BOOL CXFA_FFBarcode::LoadWidget() { 24 FX_BOOL CXFA_FFBarcode::LoadWidget() {
25 CFWL_Barcode* pFWLBarcode = CFWL_Barcode::Create(); 25 CFWL_Barcode* pFWLBarcode = CFWL_Barcode::Create();
26 if (pFWLBarcode) { 26 if (pFWLBarcode) {
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 if (uHash == pInfo->uHash) { 226 if (uHash == pInfo->uHash) {
227 return pInfo; 227 return pInfo;
228 } else if (uHash < pInfo->uHash) { 228 } else if (uHash < pInfo->uHash) {
229 iEnd = iMid - 1; 229 iEnd = iMid - 1;
230 } else { 230 } else {
231 iStart = iMid + 1; 231 iStart = iMid + 1;
232 } 232 }
233 } while (iStart <= iEnd); 233 } while (iStart <= iEnd);
234 return NULL; 234 return NULL;
235 } 235 }
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffbarcode.h ('k') | xfa/fxfa/app/xfa_ffcheckbutton.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698