| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> | 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 setElementFlag(TabIndexWasSetExplicitly, true); | 63 setElementFlag(TabIndexWasSetExplicitly, true); |
| 64 } | 64 } |
| 65 | 65 |
| 66 void clearTabIndexExplicitly() | 66 void clearTabIndexExplicitly() |
| 67 { | 67 { |
| 68 m_tabindex = 0; | 68 m_tabindex = 0; |
| 69 clearElementFlag(TabIndexWasSetExplicitly); | 69 clearElementFlag(TabIndexWasSetExplicitly); |
| 70 } | 70 } |
| 71 | 71 |
| 72 CSSStyleDeclaration& ensureInlineCSSStyleDeclaration(Element* ownerElement); | 72 CSSStyleDeclaration& ensureInlineCSSStyleDeclaration(Element* ownerElement); |
| 73 CSSStyleDeclaration* inlineCSSStyleDeclaration() const; |
| 73 | 74 |
| 74 void clearShadow() { m_shadow = nullptr; } | 75 void clearShadow() { m_shadow = nullptr; } |
| 75 ElementShadow* shadow() const { return m_shadow.get(); } | 76 ElementShadow* shadow() const { return m_shadow.get(); } |
| 76 ElementShadow& ensureShadow() | 77 ElementShadow& ensureShadow() |
| 77 { | 78 { |
| 78 if (!m_shadow) | 79 if (!m_shadow) |
| 79 m_shadow = ElementShadow::create(); | 80 m_shadow = ElementShadow::create(); |
| 80 return *m_shadow; | 81 return *m_shadow; |
| 81 } | 82 } |
| 82 | 83 |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 inline CompositorProxiedPropertySet& ElementRareData::ensureCompositorProxiedPro
pertySet() | 268 inline CompositorProxiedPropertySet& ElementRareData::ensureCompositorProxiedPro
pertySet() |
| 268 { | 269 { |
| 269 if (!m_proxiedProperties) | 270 if (!m_proxiedProperties) |
| 270 m_proxiedProperties = CompositorProxiedPropertySet::create(); | 271 m_proxiedProperties = CompositorProxiedPropertySet::create(); |
| 271 return *m_proxiedProperties; | 272 return *m_proxiedProperties; |
| 272 } | 273 } |
| 273 | 274 |
| 274 } // namespace blink | 275 } // namespace blink |
| 275 | 276 |
| 276 #endif // ElementRareData_h | 277 #endif // ElementRareData_h |
| OLD | NEW |