diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-08-08 13:24:55 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-08-09 14:16:13 +0000 |
commit | 23a824c69d098d17f788f73c273465d096d1fed0 (patch) | |
tree | ce892386966c165c50d50adff5df91088ab58aca /core/fxcrt/css/cfx_cssdatatable.h | |
parent | 073797b6cff9947070077ff4b3cccc63059dc4e5 (diff) | |
download | pdfium-23a824c69d098d17f788f73c273465d096d1fed0.tar.xz |
Move CSS data tables only used in one file
This CL moves the cfx_cssdatatable tables and methods which are only
used in cfx_cssdeclaration to an anonymous namespace.
Change-Id: Ib5dc71cc85c348e2ae7feaab8d6495fc2aa88642
Reviewed-on: https://pdfium-review.googlesource.com/9253
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxcrt/css/cfx_cssdatatable.h')
-rw-r--r-- | core/fxcrt/css/cfx_cssdatatable.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/core/fxcrt/css/cfx_cssdatatable.h b/core/fxcrt/css/cfx_cssdatatable.h index 9a0b0af198..43310c7d5c 100644 --- a/core/fxcrt/css/cfx_cssdatatable.h +++ b/core/fxcrt/css/cfx_cssdatatable.h @@ -22,32 +22,8 @@ struct CFX_CSSPropertyTable { uint32_t dwType; }; -struct CFX_CSSPropertyValueTable { - CFX_CSSPropertyValue eName; - const wchar_t* pszName; - uint32_t dwHash; -}; - -struct CFX_CSSLengthUnitTable { - uint16_t wHash; - CFX_CSSNumberType wValue; -}; - -struct CFX_CSSCOLORTABLE { - uint32_t dwHash; - FX_ARGB dwValue; -}; - const CFX_CSSPropertyTable* CFX_GetCSSPropertyByName( const CFX_WideStringC& wsName); const CFX_CSSPropertyTable* CFX_GetCSSPropertyByEnum(CFX_CSSProperty eName); -const CFX_CSSPropertyValueTable* CFX_GetCSSPropertyValueByName( - const CFX_WideStringC& wsName); - -const CFX_CSSLengthUnitTable* CFX_GetCSSLengthUnitByName( - const CFX_WideStringC& wsName); - -const CFX_CSSCOLORTABLE* CFX_GetCSSColorByName(const CFX_WideStringC& wsName); - #endif // CORE_FXCRT_CSS_CFX_CSSDATATABLE_H_ |