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 7 #ifndef CORE_FXCRT_CSS_CFX_CSSCUSTOMPROPERTY_H_ 8 #define CORE_FXCRT_CSS_CFX_CSSCUSTOMPROPERTY_H_ 9 10 #include "core/fxcrt/fx_string.h" 11 12 class CFX_CSSCustomProperty { 13 public: 14 CFX_CSSCustomProperty(const WideString& name, const WideString& value); 15 CFX_CSSCustomProperty(const CFX_CSSCustomProperty& prop); 16 ~CFX_CSSCustomProperty(); 17 name()18 WideString name() const { return name_; } value()19 WideString value() const { return value_; } 20 21 private: 22 WideString name_; 23 WideString value_; 24 }; 25 26 #endif // CORE_FXCRT_CSS_CFX_CSSCUSTOMPROPERTY_H_ 27