Dan Sinclair | 1f5d498 | 2017-01-10 16:37:32 -0500 | [diff] [blame] | 1 | // Copyright 2017 PDFium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | |
Dan Sinclair | 24ef633 | 2017-07-24 10:52:57 -0400 | [diff] [blame] | 7 | #include "xfa/fxfa/cxfa_textuserdata.h" |
Dan Sinclair | 1f5d498 | 2017-01-10 16:37:32 -0500 | [diff] [blame] | 8 | |
Dan Sinclair | 9f0e85a | 2017-08-08 13:23:24 -0400 | [diff] [blame] | 9 | #include "core/fxcrt/css/cfx_css.h" |
| 10 | #include "core/fxcrt/css/cfx_csscomputedstyle.h" |
| 11 | #include "core/fxcrt/css/cfx_cssstyleselector.h" |
Dan Sinclair | 24ef633 | 2017-07-24 10:52:57 -0400 | [diff] [blame] | 12 | #include "xfa/fxfa/cxfa_linkuserdata.h" |
Dan Sinclair | 1f5d498 | 2017-01-10 16:37:32 -0500 | [diff] [blame] | 13 | |
Dan Sinclair | 7e5fdd0 | 2017-01-23 16:24:26 -0500 | [diff] [blame] | 14 | CXFA_TextUserData::CXFA_TextUserData( |
Dan Sinclair | 0b95042 | 2017-09-21 15:49:49 -0400 | [diff] [blame] | 15 | const RetainPtr<CFX_CSSComputedStyle>& pStyle) |
Tom Sepez | 03de884 | 2017-01-24 14:24:36 -0800 | [diff] [blame] | 16 | : m_pStyle(pStyle) {} |
Dan Sinclair | 1f5d498 | 2017-01-10 16:37:32 -0500 | [diff] [blame] | 17 | |
Dan Sinclair | 7e5fdd0 | 2017-01-23 16:24:26 -0500 | [diff] [blame] | 18 | CXFA_TextUserData::CXFA_TextUserData( |
Dan Sinclair | 0b95042 | 2017-09-21 15:49:49 -0400 | [diff] [blame] | 19 | const RetainPtr<CFX_CSSComputedStyle>& pStyle, |
| 20 | const RetainPtr<CXFA_LinkUserData>& pLinkData) |
Tom Sepez | 03de884 | 2017-01-24 14:24:36 -0800 | [diff] [blame] | 21 | : m_pStyle(pStyle), m_pLinkData(pLinkData) {} |
Dan Sinclair | 1f5d498 | 2017-01-10 16:37:32 -0500 | [diff] [blame] | 22 | |
Tom Sepez | 03de884 | 2017-01-24 14:24:36 -0800 | [diff] [blame] | 23 | CXFA_TextUserData::~CXFA_TextUserData() {} |