• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_CSSVALUELIST_H_
8 #define CORE_FXCRT_CSS_CFX_CSSVALUELIST_H_
9 
10 #include <vector>
11 
12 #include "core/fxcrt/css/cfx_cssvalue.h"
13 
14 class CFX_CSSValueList final : public CFX_CSSValue {
15  public:
16   explicit CFX_CSSValueList(std::vector<RetainPtr<CFX_CSSValue>>& list);
17   ~CFX_CSSValueList() override;
18 
19   int32_t CountValues() const;
20   RetainPtr<CFX_CSSValue> GetValue(int32_t index) const;
21 
22  private:
23   std::vector<RetainPtr<CFX_CSSValue>> m_ppList;
24 };
25 
26 #endif  // CORE_FXCRT_CSS_CFX_CSSVALUELIST_H_
27