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

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

Issue 1287113006: Revert of Remove FOUC avoidance from BlockPainter and DeprecatedPaintLayerPainter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 794
795 void incDOMTreeVersion() { ASSERT(m_lifecycle.stateAllowsTreeMutations()); m _domTreeVersion = ++s_globalTreeVersion; } 795 void incDOMTreeVersion() { ASSERT(m_lifecycle.stateAllowsTreeMutations()); m _domTreeVersion = ++s_globalTreeVersion; }
796 uint64_t domTreeVersion() const { return m_domTreeVersion; } 796 uint64_t domTreeVersion() const { return m_domTreeVersion; }
797 797
798 void incStyleVersion() { ++m_styleVersion; } 798 void incStyleVersion() { ++m_styleVersion; }
799 uint64_t styleVersion() const { return m_styleVersion; } 799 uint64_t styleVersion() const { return m_styleVersion; }
800 800
801 enum PendingSheetLayout { NoLayoutWithPendingSheets, DidLayoutWithPendingShe ets, IgnoreLayoutWithPendingSheets }; 801 enum PendingSheetLayout { NoLayoutWithPendingSheets, DidLayoutWithPendingShe ets, IgnoreLayoutWithPendingSheets };
802 802
803 bool didLayoutWithPendingStylesheets() const { return m_pendingSheetLayout = = DidLayoutWithPendingSheets; } 803 bool didLayoutWithPendingStylesheets() const { return m_pendingSheetLayout = = DidLayoutWithPendingSheets; }
804 bool ignoreLayoutWithPendingStylesheets() const { return m_pendingSheetLayou t == IgnoreLayoutWithPendingSheets; }
804 805
805 bool hasNodesWithPlaceholderStyle() const { return m_hasNodesWithPlaceholder Style; } 806 bool hasNodesWithPlaceholderStyle() const { return m_hasNodesWithPlaceholder Style; }
806 void setHasNodesWithPlaceholderStyle() { m_hasNodesWithPlaceholderStyle = tr ue; } 807 void setHasNodesWithPlaceholderStyle() { m_hasNodesWithPlaceholderStyle = tr ue; }
807 808
808 Vector<IconURL> iconURLs(int iconTypesMask); 809 Vector<IconURL> iconURLs(int iconTypesMask);
809 810
810 Color themeColor() const; 811 Color themeColor() const;
811 812
812 // Returns the HTMLLinkElement currently in use for the Web Manifest. 813 // Returns the HTMLLinkElement currently in use for the Web Manifest.
813 // Returns null if there is no such element. 814 // Returns null if there is no such element.
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
1438 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1439 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1439 1440
1440 } // namespace blink 1441 } // namespace blink
1441 1442
1442 #ifndef NDEBUG 1443 #ifndef NDEBUG
1443 // Outside the WebCore namespace for ease of invocation from gdb. 1444 // Outside the WebCore namespace for ease of invocation from gdb.
1444 CORE_EXPORT void showLiveDocumentInstances(); 1445 CORE_EXPORT void showLiveDocumentInstances();
1445 #endif 1446 #endif
1446 1447
1447 #endif // Document_h 1448 #endif // Document_h
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/fouc/scroll-left-while-loading-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698