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

Side by Side Diff: Source/core/svg/SVGPaint.h

Issue 26896005: IDL compiler: remove special case capitalization (cssText, xmllang, xmlbase, xmlspace) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmial.com> 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmial.com>
5 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 RefPtr<SVGPaint> paint = adoptRef(new SVGPaint(SVG_PAINTTYPE_URI_NONE, u ri)); 85 RefPtr<SVGPaint> paint = adoptRef(new SVGPaint(SVG_PAINTTYPE_URI_NONE, u ri));
86 return paint.release(); 86 return paint.release();
87 } 87 }
88 88
89 const SVGPaintType& paintType() const { return m_paintType; } 89 const SVGPaintType& paintType() const { return m_paintType; }
90 String uri() const { return m_uri; } 90 String uri() const { return m_uri; }
91 91
92 void setUri(const String&); 92 void setUri(const String&);
93 void setPaint(unsigned short paintType, const String& uri, const String& rgb Color, const String& iccColor, ExceptionState&); 93 void setPaint(unsigned short paintType, const String& uri, const String& rgb Color, const String& iccColor, ExceptionState&);
94 94
95 String customCssText() const; 95 String customCSSText() const;
96 96
97 PassRefPtr<SVGPaint> cloneForCSSOM() const; 97 PassRefPtr<SVGPaint> cloneForCSSOM() const;
98 98
99 bool equals(const SVGPaint&) const; 99 bool equals(const SVGPaint&) const;
100 100
101 private: 101 private:
102 friend class CSSComputedStyleDeclaration; 102 friend class CSSComputedStyleDeclaration;
103 103
104 static PassRefPtr<SVGPaint> create(const SVGPaintType& type, const String& u ri, const Color& color) 104 static PassRefPtr<SVGPaint> create(const SVGPaintType& type, const String& u ri, const Color& color)
105 { 105 {
(...skipping 21 matching lines...) Expand all
127 127
128 inline const SVGPaint* toSVGPaint(const CSSValue* value) 128 inline const SVGPaint* toSVGPaint(const CSSValue* value)
129 { 129 {
130 ASSERT_WITH_SECURITY_IMPLICATION(!value || value->isSVGPaint()); 130 ASSERT_WITH_SECURITY_IMPLICATION(!value || value->isSVGPaint());
131 return static_cast<const SVGPaint*>(value); 131 return static_cast<const SVGPaint*>(value);
132 } 132 }
133 133
134 } // namespace WebCore 134 } // namespace WebCore
135 135
136 #endif // SVGPaint_h 136 #endif // SVGPaint_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698