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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSValueList.h

Issue 2625873010: Resolve CSS url(...) non-<image> values against the correct base (Closed)
Patch Set: Rebase Created 3 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
OLDNEW
1 /* 1 /*
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
4 * reserved. 4 * reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 void append(const CSSValue& value) { m_values.push_back(value); } 56 void append(const CSSValue& value) { m_values.push_back(value); }
57 bool removeAll(const CSSValue&); 57 bool removeAll(const CSSValue&);
58 bool hasValue(const CSSValue&) const; 58 bool hasValue(const CSSValue&) const;
59 CSSValueList* copy() const; 59 CSSValueList* copy() const;
60 60
61 String customCSSText() const; 61 String customCSSText() const;
62 bool equals(const CSSValueList&) const; 62 bool equals(const CSSValueList&) const;
63 63
64 bool hasFailedOrCanceledSubresources() const; 64 bool hasFailedOrCanceledSubresources() const;
65 65
66 bool mayContainUrl() const;
67 void reResolveUrl(const Document&) const;
68
66 DECLARE_TRACE_AFTER_DISPATCH(); 69 DECLARE_TRACE_AFTER_DISPATCH();
67 70
68 protected: 71 protected:
69 CSSValueList(ClassType, ValueListSeparator); 72 CSSValueList(ClassType, ValueListSeparator);
70 73
71 private: 74 private:
72 explicit CSSValueList(ValueListSeparator); 75 explicit CSSValueList(ValueListSeparator);
73 76
74 HeapVector<Member<const CSSValue>, 4> m_values; 77 HeapVector<Member<const CSSValue>, 4> m_values;
75 }; 78 };
76 79
77 DEFINE_CSS_VALUE_TYPE_CASTS(CSSValueList, isValueList()); 80 DEFINE_CSS_VALUE_TYPE_CASTS(CSSValueList, isValueList());
78 81
79 } // namespace blink 82 } // namespace blink
80 83
81 #endif // CSSValueList_h 84 #endif // CSSValueList_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSValueList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698