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

Unified Diff: xfa/fwl/lightwidget/cfwl_caret.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_caret.cpp
diff --git a/xfa/fwl/lightwidget/caret.cpp b/xfa/fwl/lightwidget/cfwl_caret.cpp
similarity index 93%
rename from xfa/fwl/lightwidget/caret.cpp
rename to xfa/fwl/lightwidget/cfwl_caret.cpp
index 9c2b90b22ae700b14d8853528796c11d7021edbc..7fea4f9e7745abe5c750132e20a51adc750590cf 100644
--- a/xfa/fwl/lightwidget/caret.cpp
+++ b/xfa/fwl/lightwidget/cfwl_caret.cpp
@@ -4,18 +4,19 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/include/fwl/lightwidget/caret.h"
+#include "xfa/fwl/lightwidget/cfwl_caret.h"
#include <memory>
#include "xfa/fwl/basewidget/ifwl_caret.h"
#include "xfa/fwl/core/fwl_targetimp.h"
#include "xfa/fxgraphics/cfx_color.h"
-#include "xfa/include/fwl/lightwidget/edit.h"
+#include "xfa/fwl/lightwidget/cfwl_edit.h"
CFWL_Caret* CFWL_Caret::Create() {
return new CFWL_Caret;
}
+
FWL_ERR CFWL_Caret::Initialize(const CFWL_WidgetProperties* pProperties) {
if (m_pIface)
return FWL_ERR_Indefinite;
@@ -32,17 +33,23 @@ FWL_ERR CFWL_Caret::Initialize(const CFWL_WidgetProperties* pProperties) {
CFWL_Widget::Initialize();
return FWL_ERR_Succeeded;
}
+
FWL_ERR CFWL_Caret::ShowCaret(FX_BOOL bFlag) {
return static_cast<IFWL_Caret*>(m_pIface)->ShowCaret(bFlag);
}
+
FWL_ERR CFWL_Caret::GetFrequency(uint32_t& elapse) {
return static_cast<IFWL_Caret*>(m_pIface)->GetFrequency(elapse);
}
+
FWL_ERR CFWL_Caret::SetFrequency(uint32_t elapse) {
return static_cast<IFWL_Caret*>(m_pIface)->SetFrequency(elapse);
}
+
FWL_ERR CFWL_Caret::SetColor(CFX_Color crFill) {
return static_cast<IFWL_Caret*>(m_pIface)->SetColor(crFill);
}
+
CFWL_Caret::CFWL_Caret() {}
+
CFWL_Caret::~CFWL_Caret() {}

Powered by Google App Engine
This is Rietveld 408576698