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

Side by Side Diff: Source/core/css/RuleSet.h

Issue 815853005: RuleCanUseFastCheckSelector flag unused. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Useless cast Created 5 years, 11 months 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/css/RuleSet.cpp » ('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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 21 matching lines...) Expand all
32 #include "wtf/Forward.h" 32 #include "wtf/Forward.h"
33 #include "wtf/HashMap.h" 33 #include "wtf/HashMap.h"
34 #include "wtf/LinkedStack.h" 34 #include "wtf/LinkedStack.h"
35 #include "wtf/TerminatedArray.h" 35 #include "wtf/TerminatedArray.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 enum AddRuleFlags { 39 enum AddRuleFlags {
40 RuleHasNoSpecialState = 0, 40 RuleHasNoSpecialState = 0,
41 RuleHasDocumentSecurityOrigin = 1, 41 RuleHasDocumentSecurityOrigin = 1,
42 RuleCanUseFastCheckSelector = 1 << 1,
43 }; 42 };
44 43
45 enum PropertyWhitelistType { 44 enum PropertyWhitelistType {
46 PropertyWhitelistNone = 0, 45 PropertyWhitelistNone,
47 PropertyWhitelistCue, 46 PropertyWhitelistCue,
48 PropertyWhitelistFirstLetter, 47 PropertyWhitelistFirstLetter,
49 }; 48 };
50 49
51 class CSSSelector; 50 class CSSSelector;
52 class MediaQueryEvaluator; 51 class MediaQueryEvaluator;
53 class StyleSheetContents; 52 class StyleSheetContents;
54 53
55 class MinimalRuleData { 54 class MinimalRuleData {
56 ALLOW_ONLY_INLINE_ALLOCATION(); 55 ALLOW_ONLY_INLINE_ALLOCATION();
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 WillBeHeapVector<RuleData> m_allRules; 230 WillBeHeapVector<RuleData> m_allRules;
232 #endif 231 #endif
233 }; 232 };
234 233
235 } // namespace blink 234 } // namespace blink
236 235
237 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::RuleData); 236 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::RuleData);
238 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::MinimalRuleData); 237 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::MinimalRuleData);
239 238
240 #endif // RuleSet_h 239 #endif // RuleSet_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/RuleSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698