From 90d9386825b872a0b668eac5dff3e268fa7ad16c Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 30 Jan 2018 21:38:40 +0000 Subject: Shuffle more code out of CXFA_Node This CL moves more code out of the CXFA_Node class and into specific subclasses. Change-Id: Idca36f251431bf7efd4da045aeabf097ab23f0ce Reviewed-on: https://pdfium-review.googlesource.com/24714 Reviewed-by: Ryan Harrison Commit-Queue: dsinclair --- xfa/fxfa/parser/cxfa_button.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xfa/fxfa/parser/cxfa_button.cpp') diff --git a/xfa/fxfa/parser/cxfa_button.cpp b/xfa/fxfa/parser/cxfa_button.cpp index 7b56d2b712..4a951b3ee9 100644 --- a/xfa/fxfa/parser/cxfa_button.cpp +++ b/xfa/fxfa/parser/cxfa_button.cpp @@ -41,3 +41,7 @@ CXFA_Button::~CXFA_Button() {} XFA_FFWidgetType CXFA_Button::GetDefaultFFWidgetType() const { return XFA_FFWidgetType::kButton; } + +XFA_AttributeEnum CXFA_Button::GetHighlight() { + return JSObject()->GetEnum(XFA_Attribute::Highlight); +} -- cgit v1.2.3