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

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

Issue 18896003: [WIP] Migrate Fullscreen to use top layer instead of RenderFullScreen (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix some failing tests 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
« no previous file with comments | « Source/core/css/fullscreen.css ('k') | Source/core/dom/Document.cpp » ('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) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 Locale& getCachedLocale(const AtomicString& locale = nullAtom); 979 Locale& getCachedLocale(const AtomicString& locale = nullAtom);
980 980
981 AnimationClock& animationClock() { return *m_animationClock; } 981 AnimationClock& animationClock() { return *m_animationClock; }
982 DocumentTimeline* timeline() const { return m_timeline.get(); } 982 DocumentTimeline* timeline() const { return m_timeline.get(); }
983 DocumentTimeline* transitionTimeline() const { return m_transitionTimeline.g et(); } 983 DocumentTimeline* transitionTimeline() const { return m_transitionTimeline.g et(); }
984 CSSPendingAnimations& cssPendingAnimations() { return m_cssPendingAnimations ; } 984 CSSPendingAnimations& cssPendingAnimations() { return m_cssPendingAnimations ; }
985 985
986 void addToTopLayer(Element*, const Element* before = 0); 986 void addToTopLayer(Element*, const Element* before = 0);
987 void removeFromTopLayer(Element*); 987 void removeFromTopLayer(Element*);
988 const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayer Elements; } 988 const Vector<RefPtr<Element> >& topLayerElements() const { return m_topLayer Elements; }
989 void addToModalDialogStack(HTMLDialogElement*);
990 void removeFromModalDialogStack(HTMLDialogElement*);
989 HTMLDialogElement* activeModalDialog() const; 991 HTMLDialogElement* activeModalDialog() const;
990 992
991 const Document* templateDocument() const; 993 const Document* templateDocument() const;
992 Document& ensureTemplateDocument(); 994 Document& ensureTemplateDocument();
993 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc umentHost = templateDocumentHost; } 995 void setTemplateDocumentHost(Document* templateDocumentHost) { m_templateDoc umentHost = templateDocumentHost; }
994 Document* templateDocumentHost() { return m_templateDocumentHost; } 996 Document* templateDocumentHost() { return m_templateDocumentHost; }
995 997
996 void didAssociateFormControl(Element*); 998 void didAssociateFormControl(Element*);
997 999
998 void addConsoleMessageWithRequestIdentifier(MessageSource, MessageLevel, con st String& message, unsigned long requestIdentifier); 1000 void addConsoleMessageWithRequestIdentifier(MessageSource, MessageLevel, con st String& message, unsigned long requestIdentifier);
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 bool m_mayDisplaySeamlesslyWithParent; 1243 bool m_mayDisplaySeamlesslyWithParent;
1242 1244
1243 RenderView* m_renderView; 1245 RenderView* m_renderView;
1244 1246
1245 WeakPtrFactory<Document> m_weakFactory; 1247 WeakPtrFactory<Document> m_weakFactory;
1246 WeakPtr<Document> m_contextDocument; 1248 WeakPtr<Document> m_contextDocument;
1247 1249
1248 bool m_hasFullscreenElementStack; // For early return in FullscreenElementSt ack::fromIfExists() 1250 bool m_hasFullscreenElementStack; // For early return in FullscreenElementSt ack::fromIfExists()
1249 1251
1250 Vector<RefPtr<Element> > m_topLayerElements; 1252 Vector<RefPtr<Element> > m_topLayerElements;
1253 HTMLDialogElement* m_activeModalDialog;
1251 1254
1252 int m_loadEventDelayCount; 1255 int m_loadEventDelayCount;
1253 Timer<Document> m_loadEventDelayTimer; 1256 Timer<Document> m_loadEventDelayTimer;
1254 1257
1255 ViewportDescription m_viewportDescription; 1258 ViewportDescription m_viewportDescription;
1256 ViewportDescription m_legacyViewportDescription; 1259 ViewportDescription m_legacyViewportDescription;
1257 1260
1258 ReferrerPolicy m_referrerPolicy; 1261 ReferrerPolicy m_referrerPolicy;
1259 1262
1260 bool m_directionSetOnDocumentElement; 1263 bool m_directionSetOnDocumentElement;
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
1347 inline bool Node::isDocumentNode() const 1350 inline bool Node::isDocumentNode() const
1348 { 1351 {
1349 return this == document(); 1352 return this == document();
1350 } 1353 }
1351 1354
1352 Node* eventTargetNodeForDocument(Document*); 1355 Node* eventTargetNodeForDocument(Document*);
1353 1356
1354 } // namespace WebCore 1357 } // namespace WebCore
1355 1358
1356 #endif // Document_h 1359 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/css/fullscreen.css ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698