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

Unified Diff: xfa/fwl/lightwidget/cfwl_barcode.cpp

Issue 1834323003: Move xfa/include/fwl/{theme,lightwidget} to xfa/fwl (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: xfa/fwl/lightwidget/cfwl_barcode.cpp
diff --git a/xfa/fwl/lightwidget/barcode.cpp b/xfa/fwl/lightwidget/cfwl_barcode.cpp
similarity index 96%
rename from xfa/fwl/lightwidget/barcode.cpp
rename to xfa/fwl/lightwidget/cfwl_barcode.cpp
index 4f05837352c889082c29adf4005295238a99bae8..4ac358ce54ae94a75e3d7fa49fb30180e4ea65a2 100644
--- a/xfa/fwl/lightwidget/barcode.cpp
+++ b/xfa/fwl/lightwidget/cfwl_barcode.cpp
@@ -4,13 +4,14 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/include/fwl/lightwidget/barcode.h"
+#include "xfa/fwl/lightwidget/cfwl_barcode.h"
#include <memory>
CFWL_Barcode* CFWL_Barcode::Create() {
return new CFWL_Barcode;
}
+
FWL_ERR CFWL_Barcode::Initialize(const CFWL_WidgetProperties* pProperties) {
if (m_pIface)
return FWL_ERR_Indefinite;
@@ -27,13 +28,17 @@ FWL_ERR CFWL_Barcode::Initialize(const CFWL_WidgetProperties* pProperties) {
CFWL_Widget::Initialize();
return FWL_ERR_Succeeded;
}
+
CFWL_Barcode::CFWL_Barcode() {}
+
CFWL_Barcode::~CFWL_Barcode() {}
+
void CFWL_Barcode::SetType(BC_TYPE type) {
if (!m_pIface)
return;
static_cast<IFWL_Barcode*>(m_pIface)->SetType(type);
}
+
FX_BOOL CFWL_Barcode::IsProtectedType() {
if (!m_pIface)
return 0;

Powered by Google App Engine
This is Rietveld 408576698