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

Side by Side Diff: Source/WebCore/svg/properties/SVGStaticListPropertyTearOff.h

Issue 12288020: Merge 142759 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 10 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 | « Source/WebCore/svg/properties/SVGPathSegListPropertyTearOff.cpp ('k') | no next file » | 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) Research In Motion Limited 2010. All rights reserved. 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 { 89 {
90 return m_role == AnimValRole; 90 return m_role == AnimValRole;
91 } 91 }
92 92
93 virtual void commitChange() 93 virtual void commitChange()
94 { 94 {
95 ASSERT(m_values); 95 ASSERT(m_values);
96 m_values->commitChange(m_contextElement.get()); 96 m_values->commitChange(m_contextElement.get());
97 } 97 }
98 98
99 virtual void processIncomingListItemValue(const ListItemType&, unsigned*) 99 virtual bool processIncomingListItemValue(const ListItemType&, unsigned*)
100 { 100 {
101 // no-op for static lists 101 // no-op for static lists
102 return true;
102 } 103 }
103 104
104 virtual void processIncomingListItemWrapper(RefPtr<ListItemTearOff>&, unsign ed*) 105 virtual bool processIncomingListItemWrapper(RefPtr<ListItemTearOff>&, unsign ed*)
105 { 106 {
106 ASSERT_NOT_REACHED(); 107 ASSERT_NOT_REACHED();
108 return true;
107 } 109 }
108 110
109 private: 111 private:
110 RefPtr<SVGElement> m_contextElement; 112 RefPtr<SVGElement> m_contextElement;
111 }; 113 };
112 114
113 } 115 }
114 116
115 #endif // ENABLE(SVG) 117 #endif // ENABLE(SVG)
116 #endif // SVGStaticListPropertyTearOff_h 118 #endif // SVGStaticListPropertyTearOff_h
OLDNEW
« no previous file with comments | « Source/WebCore/svg/properties/SVGPathSegListPropertyTearOff.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698