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_CSSVALUE_H_ 8 #define CORE_FXCRT_CSS_CFX_CSSVALUE_H_ 9 10 #include "core/fxcrt/css/cfx_css.h" 11 12 class CFX_CSSValue : public Retainable { 13 public: GetType()14 CFX_CSSPrimitiveType GetType() const { return m_value; } 15 16 protected: 17 explicit CFX_CSSValue(CFX_CSSPrimitiveType type); 18 19 private: 20 CFX_CSSPrimitiveType m_value; 21 }; 22 23 #endif // CORE_FXCRT_CSS_CFX_CSSVALUE_H_ 24