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

Unified Diff: xfa/fxfa/parser/cxfa_tooltip.cpp

Issue 1861353002: Split fxfa_objectacc.h into pieces. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « xfa/fxfa/parser/cxfa_tooltip.h ('k') | xfa/fxfa/parser/cxfa_validate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fxfa/parser/cxfa_tooltip.cpp
diff --git a/core/fpdfapi/fpdf_parser/cpdf_null.cpp b/xfa/fxfa/parser/cxfa_tooltip.cpp
similarity index 50%
copy from core/fpdfapi/fpdf_parser/cpdf_null.cpp
copy to xfa/fxfa/parser/cxfa_tooltip.cpp
index c74daf300ff983dc373729199d1b02fbc5e5de0c..079b365e468eb1d1e8c87ffb0623474861c06af2 100644
--- a/core/fpdfapi/fpdf_parser/cpdf_null.cpp
+++ b/xfa/fxfa/parser/cxfa_tooltip.cpp
@@ -4,14 +4,12 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "core/fpdfapi/fpdf_parser/cpdf_null.h"
+#include "xfa/fxfa/parser/cxfa_tooltip.h"
-CPDF_Null::CPDF_Null() {}
+#include "xfa/fxfa/parser/xfa_object.h"
-CPDF_Object::Type CPDF_Null::GetType() const {
- return NULLOBJ;
-}
+CXFA_ToolTip::CXFA_ToolTip(CXFA_Node* pNode) : CXFA_Data(pNode) {}
-CPDF_Object* CPDF_Null::Clone(FX_BOOL bDirect) const {
- return new CPDF_Null;
+FX_BOOL CXFA_ToolTip::GetTip(CFX_WideString& wsTip) {
+ return m_pNode->TryContent(wsTip);
}
« no previous file with comments | « xfa/fxfa/parser/cxfa_tooltip.h ('k') | xfa/fxfa/parser/cxfa_validate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698