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

Side by Side Diff: xfa/src/fwl/src/lightwidget/barcode.cpp

Issue 1570743002: XFA: Remove many relative includes in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 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
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 <memory> 7 #include <memory>
8 8
9 #include "../../../foxitlib.h" 9 #include "xfa/src/foxitlib.h"
10 10
11 CFWL_Barcode* CFWL_Barcode::Create() { 11 CFWL_Barcode* CFWL_Barcode::Create() {
12 return new CFWL_Barcode; 12 return new CFWL_Barcode;
13 } 13 }
14 FWL_ERR CFWL_Barcode::Initialize(const CFWL_WidgetProperties* pProperties) { 14 FWL_ERR CFWL_Barcode::Initialize(const CFWL_WidgetProperties* pProperties) {
15 if (m_pIface) 15 if (m_pIface)
16 return FWL_ERR_Indefinite; 16 return FWL_ERR_Indefinite;
17 if (pProperties) { 17 if (pProperties) {
18 *m_pProperties = *pProperties; 18 *m_pProperties = *pProperties;
19 } 19 }
(...skipping 16 matching lines...) Expand all
36 } 36 }
37 FX_BOOL CFWL_Barcode::IsProtectedType() { 37 FX_BOOL CFWL_Barcode::IsProtectedType() {
38 if (!m_pIface) 38 if (!m_pIface)
39 return 0; 39 return 0;
40 return static_cast<IFWL_Barcode*>(m_pIface)->IsProtectedType(); 40 return static_cast<IFWL_Barcode*>(m_pIface)->IsProtectedType();
41 } 41 }
42 FWL_ERR CFWL_Barcode::CFWL_BarcodeDP::GetCaption(IFWL_Widget* pWidget, 42 FWL_ERR CFWL_Barcode::CFWL_BarcodeDP::GetCaption(IFWL_Widget* pWidget,
43 CFX_WideString& wsCaption) { 43 CFX_WideString& wsCaption) {
44 return FWL_ERR_Succeeded; 44 return FWL_ERR_Succeeded;
45 } 45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698