| 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 19 matching lines...) Expand all Loading... |
| 30 #ifndef Fullscreen_h | 30 #ifndef Fullscreen_h |
| 31 #define Fullscreen_h | 31 #define Fullscreen_h |
| 32 | 32 |
| 33 #include "core/CoreExport.h" | 33 #include "core/CoreExport.h" |
| 34 #include "core/dom/ContextLifecycleObserver.h" | 34 #include "core/dom/ContextLifecycleObserver.h" |
| 35 #include "core/dom/Document.h" | 35 #include "core/dom/Document.h" |
| 36 #include "core/dom/Element.h" | 36 #include "core/dom/Element.h" |
| 37 #include "platform/Supplementable.h" | 37 #include "platform/Supplementable.h" |
| 38 #include "platform/Timer.h" | 38 #include "platform/Timer.h" |
| 39 #include "platform/geometry/LayoutRect.h" | 39 #include "platform/geometry/LayoutRect.h" |
| 40 #include "wtf/Deque.h" | 40 #include "platform/wtf/Deque.h" |
| 41 #include "wtf/RefPtr.h" | 41 #include "platform/wtf/RefPtr.h" |
| 42 #include "wtf/Vector.h" | 42 #include "platform/wtf/Vector.h" |
| 43 | 43 |
| 44 namespace blink { | 44 namespace blink { |
| 45 | 45 |
| 46 class ComputedStyle; | 46 class ComputedStyle; |
| 47 class LayoutFullScreen; | 47 class LayoutFullScreen; |
| 48 | 48 |
| 49 class CORE_EXPORT Fullscreen final | 49 class CORE_EXPORT Fullscreen final |
| 50 : public GarbageCollectedFinalized<Fullscreen>, | 50 : public GarbageCollectedFinalized<Fullscreen>, |
| 51 public Supplement<Document>, | 51 public Supplement<Document>, |
| 52 public ContextLifecycleObserver { | 52 public ContextLifecycleObserver { |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 | 170 |
| 171 inline bool Fullscreen::IsCurrentFullScreenElement(const Element& element) { | 171 inline bool Fullscreen::IsCurrentFullScreenElement(const Element& element) { |
| 172 if (Fullscreen* found = FromIfExists(element.GetDocument())) | 172 if (Fullscreen* found = FromIfExists(element.GetDocument())) |
| 173 return found->CurrentFullScreenElement() == &element; | 173 return found->CurrentFullScreenElement() == &element; |
| 174 return false; | 174 return false; |
| 175 } | 175 } |
| 176 | 176 |
| 177 } // namespace blink | 177 } // namespace blink |
| 178 | 178 |
| 179 #endif // Fullscreen_h | 179 #endif // Fullscreen_h |
| OLD | NEW |