summaryrefslogtreecommitdiff
path: root/xfa/fde/css/fde_css.cpp
blob: c9122b4bfd8c9fc0d64960a9bc57b848ed16eb43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2016 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

#include "xfa/fde/css/fde_css.h"

FDE_CSSVALUETYPE IFDE_CSSPrimitiveValue::GetType() const {
  return FDE_CSSVALUETYPE_Primitive;
}

FDE_CSSVALUETYPE IFDE_CSSValueList::GetType() const {
  return FDE_CSSVALUETYPE_List;
}

FDE_CSSRuleType IFDE_CSSStyleRule::GetType() const {
  return FDE_CSSRuleType::Style;
}

FDE_CSSRuleType IFDE_CSSMediaRule::GetType() const {
  return FDE_CSSRuleType::Media;
}

FDE_CSSRuleType IFDE_CSSFontFaceRule::GetType() const {
  return FDE_CSSRuleType::FontFace;
}