xref: /aosp_15_r20/external/pdfium/core/fxcrt/css/cfx_csscustomproperty.h (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1 // Copyright 2017 The PDFium Authors
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/widestring.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