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_CSSVALUELIST_H_ 8 #define CORE_FXCRT_CSS_CFX_CSSVALUELIST_H_ 9 10 #include <vector> 11 12 #include "core/fxcrt/css/cfx_cssvalue.h" 13 #include "core/fxcrt/retain_ptr.h" 14 15 class CFX_CSSValueList final : public CFX_CSSValue { 16 public: 17 explicit CFX_CSSValueList(std::vector<RetainPtr<CFX_CSSValue>> list); 18 ~CFX_CSSValueList() override; 19 values()20 const std::vector<RetainPtr<CFX_CSSValue>>& values() const { return list_; } 21 22 private: 23 std::vector<RetainPtr<CFX_CSSValue>> list_; 24 }; 25 26 #endif // CORE_FXCRT_CSS_CFX_CSSVALUELIST_H_ 27