aboutsummaryrefslogtreecommitdiff
path: root/core/fxcrt/css/cfx_cssdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/css/cfx_cssdata.h')
-rw-r--r--core/fxcrt/css/cfx_cssdata.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/core/fxcrt/css/cfx_cssdata.h b/core/fxcrt/css/cfx_cssdata.h
index d5b61511d..c129cfeef 100644
--- a/core/fxcrt/css/cfx_cssdata.h
+++ b/core/fxcrt/css/cfx_cssdata.h
@@ -1,4 +1,4 @@
-// Copyright 2018 PDFium Authors. All rights reserved.
+// Copyright 2018 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -10,15 +10,15 @@
#include "core/fxcrt/css/cfx_css.h"
#include "core/fxcrt/css/cfx_cssnumbervalue.h"
#include "core/fxcrt/css/cfx_cssvalue.h"
-#include "core/fxcrt/fx_string.h"
-#include "core/fxge/fx_dib.h"
+#include "core/fxcrt/widestring.h"
+#include "core/fxge/dib/fx_dib.h"
class CFX_CSSData {
public:
struct Property {
CFX_CSSProperty eName;
uint32_t dwHash; // Hashed as wide string.
- uint32_t dwType;
+ CFX_CSSValueTypeMask dwTypes;
};
struct PropertyValue {
@@ -27,12 +27,12 @@ class CFX_CSSData {
};
struct LengthUnit {
- const wchar_t* value;
- CFX_CSSNumberType type;
+ const wchar_t* value; // Raw, POD struct.
+ CFX_CSSNumberValue::Unit type;
};
struct Color {
- const wchar_t* name;
+ const wchar_t* name; // Raw, POD struct.
FX_ARGB value;
};