Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2005 Oliver Hunt <ojh16@student.canterbury.ac.nz> | 2 * Copyright (C) 2013 Google Inc. 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 |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 * Library General Public License for more details. | 12 * Library General Public License for more details. |
| 13 * | 13 * |
| 14 * You should have received a copy of the GNU Library General Public License | 14 * You should have received a copy of the GNU Library General Public License |
| 15 * along with this library; see the file COPYING.LIB. If not, write to | 15 * along with this library; see the file COPYING.LIB. If not, write to |
| 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 17 * Boston, MA 02110-1301, USA. | 17 * Boston, MA 02110-1301, USA. |
| 18 */ | 18 */ |
| 19 | 19 |
| 20 #ifndef SVGFEPointLightElement_h | 20 #ifndef InlineVariablesIterator_h |
| 21 #define SVGFEPointLightElement_h | 21 #define InlineVariablesIterator_h |
| 22 | 22 |
| 23 #include "core/svg/SVGFELightElement.h" | 23 #include "core/css/VariablesIterator.h" |
| 24 | 24 |
| 25 namespace WebCore { | 25 namespace WebCore { |
| 26 | 26 |
| 27 class SVGFEPointLightElement FINAL : public SVGFELightElement { | 27 class Element; |
| 28 | |
| 29 class InlineVariablesIterator : public AbstractVariablesIterator { | |
|
eseidel
2013/12/23 21:30:23
WebKit was historically very anti-comments. I (an
chrishtr
2013/12/23 22:06:46
Done.
| |
| 28 public: | 30 public: |
| 29 static PassRefPtr<SVGFEPointLightElement> create(Document&); | 31 static PassRefPtr<InlineVariablesIterator> create(Element*); |
| 30 | 32 |
| 31 private: | 33 private: |
| 32 explicit SVGFEPointLightElement(Document&); | 34 explicit InlineVariablesIterator(Element* element) : m_element(element) { } |
| 33 | 35 |
| 34 virtual PassRefPtr<LightSource> lightSource() const; | 36 virtual MutableStylePropertySet* propertySet() const OVERRIDE; |
| 37 | |
| 38 RefPtr<Element> m_element; | |
| 35 }; | 39 }; |
| 36 | 40 |
| 37 } // namespace WebCore | 41 } // namespace WebCore |
| 38 | 42 |
| 39 #endif | 43 #endif // InlineVariablesIterator_h |
| OLD | NEW |