| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
| 5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 6 * (C) 2007 David Smith (catfish.man@gmail.com) | 6 * (C) 2007 David Smith (catfish.man@gmail.com) |
| 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. | 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. |
| 8 * (C) 2007 Eric Seidel (eric@webkit.org) | 8 * (C) 2007 Eric Seidel (eric@webkit.org) |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 2716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2727 { | 2727 { |
| 2728 if (isInTopLayer() == inTopLayer) | 2728 if (isInTopLayer() == inTopLayer) |
| 2729 return; | 2729 return; |
| 2730 setElementFlag(IsInTopLayer, inTopLayer); | 2730 setElementFlag(IsInTopLayer, inTopLayer); |
| 2731 | 2731 |
| 2732 // We must ensure a reattach occurs so the renderer is inserted in the corre
ct sibling order under RenderView according to its | 2732 // We must ensure a reattach occurs so the renderer is inserted in the corre
ct sibling order under RenderView according to its |
| 2733 // top layer position, or in its usual place if not in the top layer. | 2733 // top layer position, or in its usual place if not in the top layer. |
| 2734 lazyReattachIfAttached(); | 2734 lazyReattachIfAttached(); |
| 2735 } | 2735 } |
| 2736 | 2736 |
| 2737 void Element::webkitRequestPointerLock() | |
| 2738 { | |
| 2739 if (document().page()) | |
| 2740 document().page()->pointerLockController().requestPointerLock(this); | |
| 2741 } | |
| 2742 | |
| 2743 void Element::requestPointerLock() | 2737 void Element::requestPointerLock() |
| 2744 { | 2738 { |
| 2745 if (document().page()) | 2739 if (document().page()) |
| 2746 document().page()->pointerLockController().requestPointerLock(this); | 2740 document().page()->pointerLockController().requestPointerLock(this); |
| 2747 } | 2741 } |
| 2748 | 2742 |
| 2749 SpellcheckAttributeState Element::spellcheckAttributeState() const | 2743 SpellcheckAttributeState Element::spellcheckAttributeState() const |
| 2750 { | 2744 { |
| 2751 const AtomicString& value = fastGetAttribute(spellcheckAttr); | 2745 const AtomicString& value = fastGetAttribute(spellcheckAttr); |
| 2752 if (value == nullAtom) | 2746 if (value == nullAtom) |
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3334 { | 3328 { |
| 3335 #if ENABLE(OILPAN) | 3329 #if ENABLE(OILPAN) |
| 3336 if (hasRareData()) | 3330 if (hasRareData()) |
| 3337 visitor->trace(elementRareData()); | 3331 visitor->trace(elementRareData()); |
| 3338 visitor->trace(m_elementData); | 3332 visitor->trace(m_elementData); |
| 3339 #endif | 3333 #endif |
| 3340 ContainerNode::trace(visitor); | 3334 ContainerNode::trace(visitor); |
| 3341 } | 3335 } |
| 3342 | 3336 |
| 3343 } // namespace blink | 3337 } // namespace blink |
| OLD | NEW |