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

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

Issue 139743005: Replace RenderFullScreen with top layer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: needs baseline Created 6 years, 11 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) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 Locale& getCachedLocale(const AtomicString& locale = nullAtom); 981 Locale& getCachedLocale(const AtomicString& locale = nullAtom);
982 982
983 AnimationClock& animationClock() { return *m_animationClock; } 983 AnimationClock& animationClock() { return *m_animationClock; }
984 DocumentTimeline* timeline() const { return m_timeline.get(); } 984 DocumentTimeline* timeline() const { return m_timeline.get(); }
985 DocumentTimeline* transitionTimeline() const { return m_transitionTimeline.g et(); } 985 DocumentTimeline* transitionTimeline() const { return m_transitionTimeline.g et(); }
986 CSSPendingAnimations& cssPendingAnimations() { return m_cssPendingAnimations ; } 986 CSSPendingAnimations& cssPendingAnimations() { return m_cssPendingAnimations ; }
987 987
988 void addToTopLayer(Element*, const Element* before = 0); 988 void addToTopLayer(Element*, const Element* before = 0);
989 void removeFromTopLayer(Element*); 989 void removeFromTopLayer(Element*);
990 const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayer Elements; } 990 const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayer Elements; }
991 void addToModalDialogStack(HTMLDialogElement*);
992 void removeFromModalDialogStack(HTMLDialogElement*);
991 HTMLDialogElement* activeModalDialog() const; 993 HTMLDialogElement* activeModalDialog() const;
992 994
993 const Document* templateDocument() const; 995 const Document* templateDocument() const;
994 Document& ensureTemplateDocument(); 996 Document& ensureTemplateDocument();
995 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc umentHost = templateDocumentHost; } 997 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc umentHost = templateDocumentHost; }
996 Document* templateDocumentHost() { return m_templateDocumentHost; } 998 Document* templateDocumentHost() { return m_templateDocumentHost; }
997 999
998 void didAssociateFormControl(Element*); 1000 void didAssociateFormControl(Element*);
999 1001
1000 void addConsoleMessageWithRequestIdentifier(MessageSource, MessageLevel, con st String& message, unsigned long requestIdentifier); 1002 void addConsoleMessageWithRequestIdentifier(MessageSource, MessageLevel, con st String& message, unsigned long requestIdentifier);
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 bool m_mayDisplaySeamlesslyWithParent; 1248 bool m_mayDisplaySeamlesslyWithParent;
1247 1249
1248 RenderView* m_renderView; 1250 RenderView* m_renderView;
1249 1251
1250 WeakPtrFactory<Document> m_weakFactory; 1252 WeakPtrFactory<Document> m_weakFactory;
1251 WeakPtr<Document> m_contextDocument; 1253 WeakPtr<Document> m_contextDocument;
1252 1254
1253 bool m_hasFullscreenElementStack; // For early return in FullscreenElementSt ack::fromIfExists() 1255 bool m_hasFullscreenElementStack; // For early return in FullscreenElementSt ack::fromIfExists()
1254 1256
1255 Vector<RefPtr<Element> > m_topLayerElements; 1257 Vector<RefPtr<Element> > m_topLayerElements;
1258 HTMLDialogElement* m_activeModalDialog;
1256 1259
1257 int m_loadEventDelayCount; 1260 int m_loadEventDelayCount;
1258 Timer<Document> m_loadEventDelayTimer; 1261 Timer<Document> m_loadEventDelayTimer;
1259 1262
1260 ViewportDescription m_viewportDescription; 1263 ViewportDescription m_viewportDescription;
1261 ViewportDescription m_legacyViewportDescription; 1264 ViewportDescription m_legacyViewportDescription;
1262 1265
1263 ReferrerPolicy m_referrerPolicy; 1266 ReferrerPolicy m_referrerPolicy;
1264 1267
1265 bool m_directionSetOnDocumentElement; 1268 bool m_directionSetOnDocumentElement;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 inline bool Node::isDocumentNode() const 1355 inline bool Node::isDocumentNode() const
1353 { 1356 {
1354 return this == document(); 1357 return this == document();
1355 } 1358 }
1356 1359
1357 Node* eventTargetNodeForDocument(Document*); 1360 Node* eventTargetNodeForDocument(Document*);
1358 1361
1359 } // namespace WebCore 1362 } // namespace WebCore
1360 1363
1361 #endif // Document_h 1364 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698