Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfx_cssstylerule.cpp
Go to the documentation of this file.
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#include "core/fxcrt/css/cfx_cssstylerule.h"
8
9#include "third_party/base/check.h"
10
12
14
16 return m_ppSelector.size();
17}
18
20 return m_ppSelector[index].get();
21}
22
24 return &m_Declaration;
25}
26
28 std::vector<std::unique_ptr<CFX_CSSSelector>>* list) {
29 DCHECK(m_ppSelector.empty());
30 m_ppSelector.swap(*list);
31}
CFX_CSSDeclaration * GetDeclaration()
CFX_CSSSelector * GetSelectorList(size_t index) const
size_t CountSelectorLists() const
void SetSelector(std::vector< std::unique_ptr< CFX_CSSSelector > > *list)