summaryrefslogtreecommitdiff
path: root/xfa/fde/css/fde_css.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-01-23 15:37:39 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-01-24 13:59:50 +0000
commite73fea598f088151213fb11100798c615543ca2f (patch)
tree6d44f161ad24c7705443be0eed802fac5151f9f9 /xfa/fde/css/fde_css.h
parent35a89dde15007d28c6796926708e8f0b5ee60d74 (diff)
downloadpdfium-e73fea598f088151213fb11100798c615543ca2f.tar.xz
Remove CSS Pseudo parsing
We always match against the pseudo type NONE when matching selectors, so we never end up using any pseudo selectors. This CL removes the pseudo selector parsing code. Change-Id: I7831d12dfff3a6f1dc98ff8e1d63c1090775562c Reviewed-on: https://pdfium-review.googlesource.com/2294 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/css/fde_css.h')
-rw-r--r--xfa/fde/css/fde_css.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/xfa/fde/css/fde_css.h b/xfa/fde/css/fde_css.h
index 17ef7e46f0..f131f0b34b 100644
--- a/xfa/fde/css/fde_css.h
+++ b/xfa/fde/css/fde_css.h
@@ -125,13 +125,10 @@ enum class FDE_CSSProperty : uint8_t {
LAST_MARKER
};
-enum class FDE_CSSPseudo : uint8_t { After, Before, NONE };
-
enum class FDE_CSSSelectorType : uint8_t {
Element = 0,
Descendant,
Class,
- Pseudo,
ID,
};