| 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 r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 9 * Copyright (C) 2013 Google Inc. All rights reserved. | 9 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "core/HTMLNames.h" | 31 #include "core/HTMLNames.h" |
| 32 #include "core/dom/Document.h" | 32 #include "core/dom/Document.h" |
| 33 #include "core/dom/ElementTraversal.h" | 33 #include "core/dom/ElementTraversal.h" |
| 34 #include "core/events/Event.h" | 34 #include "core/events/Event.h" |
| 35 #include "core/frame/FrameHost.h" | 35 #include "core/frame/FrameHost.h" |
| 36 #include "core/frame/LocalFrame.h" | 36 #include "core/frame/LocalFrame.h" |
| 37 #include "core/frame/Settings.h" | 37 #include "core/frame/Settings.h" |
| 38 #include "core/frame/UseCounter.h" | 38 #include "core/frame/UseCounter.h" |
| 39 #include "core/html/HTMLIFrameElement.h" | 39 #include "core/html/HTMLIFrameElement.h" |
| 40 #include "core/html/HTMLMediaElement.h" | 40 #include "core/html/HTMLMediaElement.h" |
| 41 #include "core/input/EventHandler.h" |
| 41 #include "core/inspector/ConsoleMessage.h" | 42 #include "core/inspector/ConsoleMessage.h" |
| 42 #include "core/layout/LayoutFullScreen.h" | 43 #include "core/layout/LayoutFullScreen.h" |
| 43 #include "core/page/ChromeClient.h" | 44 #include "core/page/ChromeClient.h" |
| 44 #include "core/page/EventHandler.h" | |
| 45 #include "platform/UserGestureIndicator.h" | 45 #include "platform/UserGestureIndicator.h" |
| 46 | 46 |
| 47 namespace blink { | 47 namespace blink { |
| 48 | 48 |
| 49 using namespace HTMLNames; | 49 using namespace HTMLNames; |
| 50 | 50 |
| 51 static bool fullscreenIsAllowedForAllOwners(const Document& document) | 51 static bool fullscreenIsAllowedForAllOwners(const Document& document) |
| 52 { | 52 { |
| 53 for (const Element* owner = document.ownerElement(); owner; owner = owner->d
ocument().ownerElement()) { | 53 for (const Element* owner = document.ownerElement(); owner; owner = owner->d
ocument().ownerElement()) { |
| 54 if (!isHTMLIFrameElement(owner)) | 54 if (!isHTMLIFrameElement(owner)) |
| (...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 616 #if ENABLE(OILPAN) | 616 #if ENABLE(OILPAN) |
| 617 visitor->trace(m_fullScreenElement); | 617 visitor->trace(m_fullScreenElement); |
| 618 visitor->trace(m_fullScreenElementStack); | 618 visitor->trace(m_fullScreenElementStack); |
| 619 visitor->trace(m_eventQueue); | 619 visitor->trace(m_eventQueue); |
| 620 #endif | 620 #endif |
| 621 WillBeHeapSupplement<Document>::trace(visitor); | 621 WillBeHeapSupplement<Document>::trace(visitor); |
| 622 DocumentLifecycleObserver::trace(visitor); | 622 DocumentLifecycleObserver::trace(visitor); |
| 623 } | 623 } |
| 624 | 624 |
| 625 } // namespace blink | 625 } // namespace blink |
| OLD | NEW |