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

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

Issue 2521303002: Rename IFWL_App to CFWL_App (Closed)
Patch Set: Rebase to master Created 4 years, 1 month 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_ffapp.cpp ('k') | xfa/fxfa/app/xfa_ffchoicelist.cpp » ('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/fxfa/app/xfa_ffbarcode.h" 7 #include "xfa/fxfa/app/xfa_ffbarcode.h"
8 8
9 #include "core/fxcrt/fx_ext.h" 9 #include "core/fxcrt/fx_ext.h"
10 #include "xfa/fwl/core/cfwl_app.h"
10 #include "xfa/fwl/core/cfwl_barcode.h" 11 #include "xfa/fwl/core/cfwl_barcode.h"
11 #include "xfa/fwl/core/cfwl_notedriver.h" 12 #include "xfa/fwl/core/cfwl_notedriver.h"
12 #include "xfa/fwl/core/ifwl_app.h"
13 #include "xfa/fxfa/app/xfa_fffield.h" 13 #include "xfa/fxfa/app/xfa_fffield.h"
14 #include "xfa/fxfa/app/xfa_fftextedit.h" 14 #include "xfa/fxfa/app/xfa_fftextedit.h"
15 #include "xfa/fxfa/app/xfa_fwladapter.h" 15 #include "xfa/fxfa/app/xfa_fwladapter.h"
16 #include "xfa/fxfa/xfa_ffpageview.h" 16 #include "xfa/fxfa/xfa_ffpageview.h"
17 #include "xfa/fxfa/xfa_ffwidget.h" 17 #include "xfa/fxfa/xfa_ffwidget.h"
18 18
19 namespace { 19 namespace {
20 20
21 const XFA_BARCODETYPEENUMINFO g_XFABarCodeTypeEnumData[] = { 21 const XFA_BARCODETYPEENUMINFO g_XFABarCodeTypeEnumData[] = {
22 {0x7fb4a18, L"ean13", XFA_BARCODETYPE_ean13, BC_EAN13}, 22 {0x7fb4a18, L"ean13", XFA_BARCODETYPE_ean13, BC_EAN13},
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 } 235 }
236 return CXFA_FFTextEdit::OnLButtonDown(dwFlags, fx, fy); 236 return CXFA_FFTextEdit::OnLButtonDown(dwFlags, fx, fy);
237 } 237 }
238 bool CXFA_FFBarcode::OnRButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) { 238 bool CXFA_FFBarcode::OnRButtonDown(uint32_t dwFlags, FX_FLOAT fx, FX_FLOAT fy) {
239 CFWL_Barcode* pBarCodeWidget = (CFWL_Barcode*)m_pNormalWidget; 239 CFWL_Barcode* pBarCodeWidget = (CFWL_Barcode*)m_pNormalWidget;
240 if (!pBarCodeWidget || pBarCodeWidget->IsProtectedType()) { 240 if (!pBarCodeWidget || pBarCodeWidget->IsProtectedType()) {
241 return false; 241 return false;
242 } 242 }
243 return CXFA_FFTextEdit::OnRButtonDown(dwFlags, fx, fy); 243 return CXFA_FFTextEdit::OnRButtonDown(dwFlags, fx, fy);
244 } 244 }
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffapp.cpp ('k') | xfa/fxfa/app/xfa_ffchoicelist.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698