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 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All |
7 * rights reserved. | 7 * rights reserved. |
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
(...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 } | 754 } |
755 | 755 |
756 void Fullscreen::clearFullscreenElementStack() { | 756 void Fullscreen::clearFullscreenElementStack() { |
757 m_fullscreenElementStack.clear(); | 757 m_fullscreenElementStack.clear(); |
758 } | 758 } |
759 | 759 |
760 void Fullscreen::popFullscreenElementStack() { | 760 void Fullscreen::popFullscreenElementStack() { |
761 if (m_fullscreenElementStack.isEmpty()) | 761 if (m_fullscreenElementStack.isEmpty()) |
762 return; | 762 return; |
763 | 763 |
764 m_fullscreenElementStack.removeLast(); | 764 m_fullscreenElementStack.pop_back(); |
765 } | 765 } |
766 | 766 |
767 void Fullscreen::pushFullscreenElementStack(Element& element, | 767 void Fullscreen::pushFullscreenElementStack(Element& element, |
768 RequestType requestType) { | 768 RequestType requestType) { |
769 m_fullscreenElementStack.append(std::make_pair(&element, requestType)); | 769 m_fullscreenElementStack.append(std::make_pair(&element, requestType)); |
770 } | 770 } |
771 | 771 |
772 DEFINE_TRACE(Fullscreen) { | 772 DEFINE_TRACE(Fullscreen) { |
773 visitor->trace(m_currentFullScreenElement); | 773 visitor->trace(m_currentFullScreenElement); |
774 visitor->trace(m_fullscreenElementStack); | 774 visitor->trace(m_fullscreenElementStack); |
775 visitor->trace(m_eventQueue); | 775 visitor->trace(m_eventQueue); |
776 Supplement<Document>::trace(visitor); | 776 Supplement<Document>::trace(visitor); |
777 ContextLifecycleObserver::trace(visitor); | 777 ContextLifecycleObserver::trace(visitor); |
778 } | 778 } |
779 | 779 |
780 } // namespace blink | 780 } // namespace blink |
OLD | NEW |