| 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 10 matching lines...) Expand all Loading... |
| 21 * You should have received a copy of the GNU Library General Public License | 21 * You should have received a copy of the GNU Library General Public License |
| 22 * along with this library; see the file COPYING.LIB. If not, write to | 22 * along with this library; see the file COPYING.LIB. If not, write to |
| 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 23 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 24 * Boston, MA 02110-1301, USA. | 24 * Boston, MA 02110-1301, USA. |
| 25 * | 25 * |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #ifndef FullscreenElementStack_h | 28 #ifndef FullscreenElementStack_h |
| 29 #define FullscreenElementStack_h | 29 #define FullscreenElementStack_h |
| 30 | 30 |
| 31 #include "core/dom/Document.h" |
| 31 #include "core/dom/DocumentLifecycleObserver.h" | 32 #include "core/dom/DocumentLifecycleObserver.h" |
| 32 #include "core/dom/Element.h" | 33 #include "core/dom/Element.h" |
| 33 #include "platform/Supplementable.h" | 34 #include "platform/Supplementable.h" |
| 34 #include "platform/Timer.h" | 35 #include "platform/Timer.h" |
| 35 #include "platform/geometry/LayoutRect.h" | 36 #include "platform/geometry/LayoutRect.h" |
| 36 #include "wtf/Deque.h" | 37 #include "wtf/Deque.h" |
| 37 #include "wtf/RefPtr.h" | 38 #include "wtf/RefPtr.h" |
| 38 #include "wtf/Vector.h" | 39 #include "wtf/Vector.h" |
| 39 | 40 |
| 40 namespace WebCore { | 41 namespace WebCore { |
| 41 | 42 |
| 42 class Document; | |
| 43 class Element; | |
| 44 class Node; | |
| 45 class RenderFullScreen; | 43 class RenderFullScreen; |
| 46 class RenderStyle; | 44 class RenderStyle; |
| 47 class ExecutionContext; | |
| 48 | 45 |
| 49 class FullscreenElementStack FINAL | 46 class FullscreenElementStack FINAL |
| 50 : public NoBaseWillBeGarbageCollectedFinalized<FullscreenElementStack> | 47 : public NoBaseWillBeGarbageCollectedFinalized<FullscreenElementStack> |
| 51 , public DocumentSupplement | 48 , public DocumentSupplement |
| 52 , public DocumentLifecycleObserver { | 49 , public DocumentLifecycleObserver { |
| 53 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FullscreenElementStack); | 50 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(FullscreenElementStack); |
| 54 public: | 51 public: |
| 55 virtual ~FullscreenElementStack(); | 52 virtual ~FullscreenElementStack(); |
| 56 static const char* supplementName(); | 53 static const char* supplementName(); |
| 57 static FullscreenElementStack& from(Document&); | 54 static FullscreenElementStack& from(Document&); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 inline FullscreenElementStack* FullscreenElementStack::fromIfExists(Document& do
cument) | 130 inline FullscreenElementStack* FullscreenElementStack::fromIfExists(Document& do
cument) |
| 134 { | 131 { |
| 135 if (!document.hasFullscreenElementStack()) | 132 if (!document.hasFullscreenElementStack()) |
| 136 return 0; | 133 return 0; |
| 137 return fromIfExistsSlow(document); | 134 return fromIfExistsSlow(document); |
| 138 } | 135 } |
| 139 | 136 |
| 140 } // namespace WebCore | 137 } // namespace WebCore |
| 141 | 138 |
| 142 #endif // FullscreenElementStack_h | 139 #endif // FullscreenElementStack_h |
| OLD | NEW |