| 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 2774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2785 void Element::releasePointerCapture(int pointerId, ExceptionState& exceptionStat
e) | 2785 void Element::releasePointerCapture(int pointerId, ExceptionState& exceptionStat
e) |
| 2786 { | 2786 { |
| 2787 if (document().frame()) { | 2787 if (document().frame()) { |
| 2788 if (!document().frame()->eventHandler().isPointerEventActive(pointerId)) | 2788 if (!document().frame()->eventHandler().isPointerEventActive(pointerId)) |
| 2789 exceptionState.throwDOMException(InvalidPointerId, "InvalidPointerId
"); | 2789 exceptionState.throwDOMException(InvalidPointerId, "InvalidPointerId
"); |
| 2790 else | 2790 else |
| 2791 document().frame()->eventHandler().releasePointerCapture(pointerId,
this); | 2791 document().frame()->eventHandler().releasePointerCapture(pointerId,
this); |
| 2792 } | 2792 } |
| 2793 } | 2793 } |
| 2794 | 2794 |
| 2795 bool Element::hasPointerCapture(int pointerId) | 2795 bool Element::hasPointerCapture(int pointerId) const |
| 2796 { | 2796 { |
| 2797 return document().frame() && document().frame()->eventHandler().hasPointerCa
pture(pointerId, this); | 2797 return document().frame() && document().frame()->eventHandler().hasPointerCa
pture(pointerId, this); |
| 2798 } | 2798 } |
| 2799 | 2799 |
| 2800 String Element::innerText() | 2800 String Element::innerText() |
| 2801 { | 2801 { |
| 2802 // We need to update layout, since plainText uses line boxes in the layout t
ree. | 2802 // We need to update layout, since plainText uses line boxes in the layout t
ree. |
| 2803 document().updateStyleAndLayoutIgnorePendingStylesheetsForNode(this); | 2803 document().updateStyleAndLayoutIgnorePendingStylesheetsForNode(this); |
| 2804 | 2804 |
| 2805 if (!layoutObject()) | 2805 if (!layoutObject()) |
| (...skipping 1035 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3841 | 3841 |
| 3842 DEFINE_TRACE_WRAPPERS(Element) | 3842 DEFINE_TRACE_WRAPPERS(Element) |
| 3843 { | 3843 { |
| 3844 if (hasRareData()) { | 3844 if (hasRareData()) { |
| 3845 visitor->traceWrappers(elementRareData()); | 3845 visitor->traceWrappers(elementRareData()); |
| 3846 } | 3846 } |
| 3847 ContainerNode::traceWrappers(visitor); | 3847 ContainerNode::traceWrappers(visitor); |
| 3848 } | 3848 } |
| 3849 | 3849 |
| 3850 } // namespace blink | 3850 } // namespace blink |
| OLD | NEW |