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

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

Issue 1219063013: Fix virtual/override/final usage in Source/core/dom/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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
« no previous file with comments | « Source/core/dom/FirstLetterPseudoElement.h ('k') | Source/core/dom/LiveNodeList.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 void setFullScreenLayoutObject(LayoutFullScreen*); 78 void setFullScreenLayoutObject(LayoutFullScreen*);
79 LayoutFullScreen* fullScreenLayoutObject() const { return m_fullScreenLayout Object; } 79 LayoutFullScreen* fullScreenLayoutObject() const { return m_fullScreenLayout Object; }
80 void fullScreenLayoutObjectDestroyed(); 80 void fullScreenLayoutObjectDestroyed();
81 81
82 void elementRemoved(Element&); 82 void elementRemoved(Element&);
83 83
84 // Mozilla API 84 // Mozilla API
85 Element* webkitCurrentFullScreenElement() const { return m_fullScreenElement .get(); } 85 Element* webkitCurrentFullScreenElement() const { return m_fullScreenElement .get(); }
86 86
87 virtual void documentWasDetached() override; 87 void documentWasDetached() override;
88 #if !ENABLE(OILPAN) 88 #if !ENABLE(OILPAN)
89 virtual void documentWasDisposed() override; 89 void documentWasDisposed() override;
90 #endif 90 #endif
91 91
92 DECLARE_VIRTUAL_TRACE(); 92 DECLARE_VIRTUAL_TRACE();
93 93
94 private: 94 private:
95 static Fullscreen* fromIfExistsSlow(Document&); 95 static Fullscreen* fromIfExistsSlow(Document&);
96 96
97 explicit Fullscreen(Document&); 97 explicit Fullscreen(Document&);
98 98
99 Document* document(); 99 Document* document();
(...skipping 26 matching lines...) Expand all
126 inline Fullscreen* Fullscreen::fromIfExists(Document& document) 126 inline Fullscreen* Fullscreen::fromIfExists(Document& document)
127 { 127 {
128 if (!document.hasFullscreenSupplement()) 128 if (!document.hasFullscreenSupplement())
129 return 0; 129 return 0;
130 return fromIfExistsSlow(document); 130 return fromIfExistsSlow(document);
131 } 131 }
132 132
133 } // namespace blink 133 } // namespace blink
134 134
135 #endif // Fullscreen_h 135 #endif // Fullscreen_h
OLDNEW
« no previous file with comments | « Source/core/dom/FirstLetterPseudoElement.h ('k') | Source/core/dom/LiveNodeList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698