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 XFA_FDE_CSS_CFDE_CSSCOLORVALUE_H_ 8 #define XFA_FDE_CSS_CFDE_CSSCOLORVALUE_H_ 9 10 #include "xfa/fde/css/cfde_cssvalue.h" 11 12 class CFDE_CSSColorValue : public CFDE_CSSValue { 13 public: 14 explicit CFDE_CSSColorValue(FX_ARGB color); 15 ~CFDE_CSSColorValue() override; 16 Value()17 FX_ARGB Value() const { return value_; } 18 19 private: 20 FX_ARGB value_; 21 }; 22 23 #endif // XFA_FDE_CSS_CFDE_CSSCOLORVALUE_H_ 24