// Copyright 2017 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_FXCRT_CSS_CFX_CSSSTYLERULE_H_ #define CORE_FXCRT_CSS_CFX_CSSSTYLERULE_H_ #include #include #include "core/fxcrt/css/cfx_cssdeclaration.h" #include "core/fxcrt/css/cfx_cssselector.h" class CFX_CSSStyleRule { public: CFX_CSSStyleRule(); ~CFX_CSSStyleRule(); size_t CountSelectorLists() const; CFX_CSSSelector* GetSelectorList(int32_t index) const; CFX_CSSDeclaration* GetDeclaration(); void SetSelector(std::vector>* list); private: CFX_CSSDeclaration m_Declaration; std::vector> m_ppSelector; }; #endif // CORE_FXCRT_CSS_CFX_CSSSTYLERULE_H_