| 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 2637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2648 return parseToDoubleForNumberType(getAttribute(attributeName), fallbackValue
); | 2648 return parseToDoubleForNumberType(getAttribute(attributeName), fallbackValue
); |
| 2649 } | 2649 } |
| 2650 | 2650 |
| 2651 void Element::setFloatingPointAttribute(const QualifiedName& attributeName, doub
le value) | 2651 void Element::setFloatingPointAttribute(const QualifiedName& attributeName, doub
le value) |
| 2652 { | 2652 { |
| 2653 setAttribute(attributeName, AtomicString::number(value)); | 2653 setAttribute(attributeName, AtomicString::number(value)); |
| 2654 } | 2654 } |
| 2655 | 2655 |
| 2656 void Element::webkitRequestFullscreen() | 2656 void Element::webkitRequestFullscreen() |
| 2657 { | 2657 { |
| 2658 FullscreenElementStack::from(document()).requestFullScreenForElement(*this,
FullscreenElementStack::PrefixedRequest); | 2658 FullscreenElementStack::from(document()).requestFullscreen(*this, Fullscreen
ElementStack::PrefixedRequest); |
| 2659 } | 2659 } |
| 2660 | 2660 |
| 2661 void Element::webkitRequestFullScreen(unsigned short flags) | 2661 void Element::webkitRequestFullScreen(unsigned short flags) |
| 2662 { | 2662 { |
| 2663 FullscreenElementStack::RequestType requestType; | 2663 FullscreenElementStack::RequestType requestType; |
| 2664 if (flags & ALLOW_KEYBOARD_INPUT) | 2664 if (flags & ALLOW_KEYBOARD_INPUT) |
| 2665 requestType = FullscreenElementStack::PrefixedMozillaAllowKeyboardInputR
equest; | 2665 requestType = FullscreenElementStack::PrefixedMozillaAllowKeyboardInputR
equest; |
| 2666 else | 2666 else |
| 2667 requestType = FullscreenElementStack::PrefixedMozillaRequest; | 2667 requestType = FullscreenElementStack::PrefixedMozillaRequest; |
| 2668 FullscreenElementStack::from(document()).requestFullScreenForElement(*this,
requestType); | 2668 FullscreenElementStack::from(document()).requestFullscreen(*this, requestTyp
e); |
| 2669 } | 2669 } |
| 2670 | 2670 |
| 2671 void Element::setContainsFullScreenElement(bool flag) | 2671 void Element::setContainsFullScreenElement(bool flag) |
| 2672 { | 2672 { |
| 2673 setElementFlag(ContainsFullScreenElement, flag); | 2673 setElementFlag(ContainsFullScreenElement, flag); |
| 2674 setNeedsStyleRecalc(SubtreeStyleChange); | 2674 setNeedsStyleRecalc(SubtreeStyleChange); |
| 2675 } | 2675 } |
| 2676 | 2676 |
| 2677 static Element* parentCrossingFrameBoundaries(Element* element) | 2677 static Element* parentCrossingFrameBoundaries(Element* element) |
| 2678 { | 2678 { |
| (...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3260 { | 3260 { |
| 3261 #if ENABLE(OILPAN) | 3261 #if ENABLE(OILPAN) |
| 3262 if (hasRareData()) | 3262 if (hasRareData()) |
| 3263 visitor->trace(elementRareData()); | 3263 visitor->trace(elementRareData()); |
| 3264 visitor->trace(m_elementData); | 3264 visitor->trace(m_elementData); |
| 3265 #endif | 3265 #endif |
| 3266 ContainerNode::trace(visitor); | 3266 ContainerNode::trace(visitor); |
| 3267 } | 3267 } |
| 3268 | 3268 |
| 3269 } // namespace blink | 3269 } // namespace blink |
| OLD | NEW |