Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Side by Side Diff: Source/core/dom/Fullscreen.h

Issue 947393002: InlinedVisitor: Migrate dom to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void elementRemoved(Element&); 81 void elementRemoved(Element&);
82 82
83 // Mozilla API 83 // Mozilla API
84 Element* webkitCurrentFullScreenElement() const { return m_fullScreenElement .get(); } 84 Element* webkitCurrentFullScreenElement() const { return m_fullScreenElement .get(); }
85 85
86 virtual void documentWasDetached() override; 86 virtual void documentWasDetached() override;
87 #if !ENABLE(OILPAN) 87 #if !ENABLE(OILPAN)
88 virtual void documentWasDisposed() override; 88 virtual void documentWasDisposed() override;
89 #endif 89 #endif
90 90
91 virtual void trace(Visitor*) override; 91 DECLARE_VIRTUAL_TRACE();
92 92
93 private: 93 private:
94 static Fullscreen* fromIfExistsSlow(Document&); 94 static Fullscreen* fromIfExistsSlow(Document&);
95 95
96 explicit Fullscreen(Document&); 96 explicit Fullscreen(Document&);
97 97
98 Document* document(); 98 Document* document();
99 99
100 void clearFullscreenElementStack(); 100 void clearFullscreenElementStack();
101 void popFullscreenElementStack(); 101 void popFullscreenElementStack();
(...skipping 23 matching lines...) Expand all
125 inline Fullscreen* Fullscreen::fromIfExists(Document& document) 125 inline Fullscreen* Fullscreen::fromIfExists(Document& document)
126 { 126 {
127 if (!document.hasFullscreenSupplement()) 127 if (!document.hasFullscreenSupplement())
128 return 0; 128 return 0;
129 return fromIfExistsSlow(document); 129 return fromIfExistsSlow(document);
130 } 130 }
131 131
132 } // namespace blink 132 } // namespace blink
133 133
134 #endif // Fullscreen_h 134 #endif // Fullscreen_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698