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

Side by Side Diff: Source/core/css/CSSComputedStyleDeclaration.cpp

Issue 291863003: Replace CursorList with RefVector<CursorData>. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | Source/core/css/resolver/StyleBuilderCustom.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) 2004 Zack Rusin <zack@kde.org> 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 4 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2011 Sencha, Inc. All rights reserved. 6 * Copyright (C) 2011 Sencha, Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "core/css/RuntimeCSSEnabled.h" 56 #include "core/css/RuntimeCSSEnabled.h"
57 #include "core/css/StylePropertySet.h" 57 #include "core/css/StylePropertySet.h"
58 #include "core/css/resolver/StyleResolver.h" 58 #include "core/css/resolver/StyleResolver.h"
59 #include "core/dom/Document.h" 59 #include "core/dom/Document.h"
60 #include "core/dom/ExceptionCode.h" 60 #include "core/dom/ExceptionCode.h"
61 #include "core/dom/PseudoElement.h" 61 #include "core/dom/PseudoElement.h"
62 #include "core/rendering/RenderBox.h" 62 #include "core/rendering/RenderBox.h"
63 #include "core/rendering/RenderGrid.h" 63 #include "core/rendering/RenderGrid.h"
64 #include "core/rendering/style/ContentData.h" 64 #include "core/rendering/style/ContentData.h"
65 #include "core/rendering/style/CounterContent.h" 65 #include "core/rendering/style/CounterContent.h"
66 #include "core/rendering/style/CursorList.h"
67 #include "core/rendering/style/RenderStyle.h" 66 #include "core/rendering/style/RenderStyle.h"
68 #include "core/rendering/style/ShadowList.h" 67 #include "core/rendering/style/ShadowList.h"
69 #include "core/rendering/style/ShapeValue.h" 68 #include "core/rendering/style/ShapeValue.h"
70 #include "platform/fonts/FontFeatureSettings.h" 69 #include "platform/fonts/FontFeatureSettings.h"
71 #include "wtf/text/StringBuilder.h" 70 #include "wtf/text/StringBuilder.h"
72 71
73 namespace WebCore { 72 namespace WebCore {
74 73
75 // List of all properties we know how to compute, omitting shorthands. 74 // List of all properties we know how to compute, omitting shorthands.
76 // NOTE: Do not use this list, use computableProperties() instead 75 // NOTE: Do not use this list, use computableProperties() instead
(...skipping 2978 matching lines...) Expand 10 before | Expand all | Expand 10 after
3055 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin, 3054 static const CSSPropertyID propertiesAfterSlashSeperator[3] = { CSSPropertyB ackgroundSize, CSSPropertyBackgroundOrigin,
3056 CSSPropertyB ackgroundClip }; 3055 CSSPropertyB ackgroundClip };
3057 3056
3058 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSlashSeparated() ; 3057 RefPtrWillBeRawPtr<CSSValueList> list = CSSValueList::createSlashSeparated() ;
3059 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator)))); 3058 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesBeforeSlashSeperator, WTF_ARRAY_LENGTH(propertiesBeforeSlash Seperator))));
3060 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator)))); 3059 list->append(valuesForShorthandProperty(StylePropertyShorthand(CSSPropertyBa ckground, propertiesAfterSlashSeperator, WTF_ARRAY_LENGTH(propertiesAfterSlashSe perator))));
3061 return list.release(); 3060 return list.release();
3062 } 3061 }
3063 3062
3064 } // namespace WebCore 3063 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/resolver/StyleBuilderCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698