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

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

Issue 2823873002: Fixed the paint supression to track only render-blocking stylesheets
Patch Set: Fixed stylesheet check Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/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 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 1402 matching lines...) Expand 10 before | Expand all | Expand 10 after
1413 void AddListenerType(ListenerType listener_type) { 1413 void AddListenerType(ListenerType listener_type) {
1414 listener_types_ |= listener_type; 1414 listener_types_ |= listener_type;
1415 } 1415 }
1416 void AddMutationEventListenerTypeIfEnabled(ListenerType); 1416 void AddMutationEventListenerTypeIfEnabled(ListenerType);
1417 1417
1418 void DidAssociateFormControlsTimerFired(TimerBase*); 1418 void DidAssociateFormControlsTimerFired(TimerBase*);
1419 1419
1420 void ClearFocusedElementSoon(); 1420 void ClearFocusedElementSoon();
1421 void ClearFocusedElementTimerFired(TimerBase*); 1421 void ClearFocusedElementTimerFired(TimerBase*);
1422 1422
1423 bool HasPendingRenderBlockingSheets() const;
1423 bool HaveScriptBlockingStylesheetsLoaded() const; 1424 bool HaveScriptBlockingStylesheetsLoaded() const;
1424 bool HaveRenderBlockingStylesheetsLoaded() const; 1425 bool HaveRenderBlockingStylesheetsLoaded() const;
1425 void StyleResolverMayHaveChanged(); 1426 void StyleResolverMayHaveChanged();
1426 1427
1427 void SetHoverElement(Element*); 1428 void SetHoverElement(Element*);
1428 1429
1429 using EventFactorySet = HashSet<std::unique_ptr<EventFactoryBase>>; 1430 using EventFactorySet = HashSet<std::unique_ptr<EventFactoryBase>>;
1430 static EventFactorySet& EventFactories(); 1431 static EventFactorySet& EventFactories();
1431 1432
1432 void SetNthIndexCache(NthIndexCache* nth_index_cache) { 1433 void SetNthIndexCache(NthIndexCache* nth_index_cache) {
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
1734 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1735 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1735 1736
1736 } // namespace blink 1737 } // namespace blink
1737 1738
1738 #ifndef NDEBUG 1739 #ifndef NDEBUG
1739 // Outside the WebCore namespace for ease of invocation from gdb. 1740 // Outside the WebCore namespace for ease of invocation from gdb.
1740 CORE_EXPORT void showLiveDocumentInstances(); 1741 CORE_EXPORT void showLiveDocumentInstances();
1741 #endif 1742 #endif
1742 1743
1743 #endif // Document_h 1744 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698