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

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

Issue 2743053003: [Reland #1] Don't create layout objects for children of display-none iframes. (Closed)
Patch Set: rebaseline. Created 3 years, 8 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
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 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 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 ResizeObserverController& ensureResizeObserverController(); 807 ResizeObserverController& ensureResizeObserverController();
808 808
809 void updateViewportDescription(); 809 void updateViewportDescription();
810 810
811 // Returns the owning element in the parent document. Returns nullptr if 811 // Returns the owning element in the parent document. Returns nullptr if
812 // this is the top level document or the owner is remote. 812 // this is the top level document or the owner is remote.
813 HTMLFrameOwnerElement* localOwner() const; 813 HTMLFrameOwnerElement* localOwner() const;
814 814
815 void willChangeFrameOwnerProperties(int marginWidth, 815 void willChangeFrameOwnerProperties(int marginWidth,
816 int marginHeight, 816 int marginHeight,
817 ScrollbarMode); 817 ScrollbarMode,
818 bool isDisplayNone);
818 819
819 // Returns true if this document belongs to a frame that the parent document 820 // Returns true if this document belongs to a frame that the parent document
820 // made invisible (for instance by setting as style display:none). 821 // made invisible (for instance by setting as style display:none).
821 bool isInInvisibleSubframe() const; 822 bool isInInvisibleSubframe() const;
822 823
823 String title() const { return m_title; } 824 String title() const { return m_title; }
824 void setTitle(const String&); 825 void setTitle(const String&);
825 826
826 Element* titleElement() const { return m_titleElement.get(); } 827 Element* titleElement() const { return m_titleElement.get(); }
827 void setTitleElement(Element*); 828 void setTitleElement(Element*);
(...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after
1710 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1711 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1711 1712
1712 } // namespace blink 1713 } // namespace blink
1713 1714
1714 #ifndef NDEBUG 1715 #ifndef NDEBUG
1715 // Outside the WebCore namespace for ease of invocation from gdb. 1716 // Outside the WebCore namespace for ease of invocation from gdb.
1716 CORE_EXPORT void showLiveDocumentInstances(); 1717 CORE_EXPORT void showLiveDocumentInstances();
1717 #endif 1718 #endif
1718 1719
1719 #endif // Document_h 1720 #endif // Document_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698