Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(984)

Side by Side Diff: Source/core/css/CSSParser-in.cpp

Issue 51073002: Move HashTools.h to core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/HashTools.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
9 * Copyright (C) 2012 Intel Corporation. All rights reserved. 9 * Copyright (C) 2012 Intel Corporation. All rights reserved.
10 * 10 *
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 #include "core/css/CSSShaderValue.h" 58 #include "core/css/CSSShaderValue.h"
59 #include "core/css/CSSShadowValue.h" 59 #include "core/css/CSSShadowValue.h"
60 #include "core/css/CSSStyleSheet.h" 60 #include "core/css/CSSStyleSheet.h"
61 #include "core/css/CSSTimingFunctionValue.h" 61 #include "core/css/CSSTimingFunctionValue.h"
62 #include "core/css/CSSTransformValue.h" 62 #include "core/css/CSSTransformValue.h"
63 #include "core/css/CSSUnicodeRangeValue.h" 63 #include "core/css/CSSUnicodeRangeValue.h"
64 #include "core/css/CSSValueList.h" 64 #include "core/css/CSSValueList.h"
65 #include "core/css/CSSValuePool.h" 65 #include "core/css/CSSValuePool.h"
66 #include "core/css/CSSVariableValue.h" 66 #include "core/css/CSSVariableValue.h"
67 #include "core/css/Counter.h" 67 #include "core/css/Counter.h"
68 #include "core/css/HashTools.h"
68 #include "core/css/MediaList.h" 69 #include "core/css/MediaList.h"
69 #include "core/css/MediaQueryExp.h" 70 #include "core/css/MediaQueryExp.h"
70 #include "core/css/Pair.h" 71 #include "core/css/Pair.h"
71 #include "core/css/Rect.h" 72 #include "core/css/Rect.h"
72 #include "core/css/StylePropertySet.h" 73 #include "core/css/StylePropertySet.h"
73 #include "core/css/StyleRule.h" 74 #include "core/css/StyleRule.h"
74 #include "core/css/StyleRuleImport.h" 75 #include "core/css/StyleRuleImport.h"
75 #include "core/css/StyleSheetContents.h" 76 #include "core/css/StyleSheetContents.h"
76 #include "core/dom/Document.h" 77 #include "core/dom/Document.h"
77 #include "core/html/parser/HTMLParserIdioms.h" 78 #include "core/html/parser/HTMLParserIdioms.h"
78 #include "core/inspector/InspectorInstrumentation.h" 79 #include "core/inspector/InspectorInstrumentation.h"
79 #include "core/page/PageConsole.h" 80 #include "core/page/PageConsole.h"
80 #include "core/page/Settings.h" 81 #include "core/page/Settings.h"
81 #include "core/platform/HashTools.h"
82 #include "core/rendering/RenderTheme.h" 82 #include "core/rendering/RenderTheme.h"
83 #include "core/svg/SVGParserUtilities.h" 83 #include "core/svg/SVGParserUtilities.h"
84 #include "platform/FloatConversion.h" 84 #include "platform/FloatConversion.h"
85 #include "wtf/BitArray.h" 85 #include "wtf/BitArray.h"
86 #include "wtf/HexNumber.h" 86 #include "wtf/HexNumber.h"
87 #include "wtf/text/StringBuffer.h" 87 #include "wtf/text/StringBuffer.h"
88 #include "wtf/text/StringBuilder.h" 88 #include "wtf/text/StringBuilder.h"
89 #include "wtf/text/StringImpl.h" 89 #include "wtf/text/StringImpl.h"
90 #include "wtf/text/TextEncoding.h" 90 #include "wtf/text/TextEncoding.h"
91 #include <limits.h> 91 #include <limits.h>
(...skipping 11946 matching lines...) Expand 10 before | Expand all | Expand 10 after
12038 { 12038 {
12039 // The tokenizer checks for the construct of an+b. 12039 // The tokenizer checks for the construct of an+b.
12040 // However, since the {ident} rule precedes the {nth} rule, some of those 12040 // However, since the {ident} rule precedes the {nth} rule, some of those
12041 // tokens are identified as string literal. Furthermore we need to accept 12041 // tokens are identified as string literal. Furthermore we need to accept
12042 // "odd" and "even" which does not match to an+b. 12042 // "odd" and "even" which does not match to an+b.
12043 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even") 12043 return equalIgnoringCase(token, "odd") || equalIgnoringCase(token, "even")
12044 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n"); 12044 || equalIgnoringCase(token, "n") || equalIgnoringCase(token, "-n");
12045 } 12045 }
12046 12046
12047 } 12047 }
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/HashTools.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698