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

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

Issue 2856773003: Remove deprecated ExecutionContextTask (Closed)
Patch Set: restore private / rebase Created 3 years, 6 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 982 matching lines...) Expand 10 before | Expand all | Expand 10 after
993 // Returns the HTMLLinkElement currently in use for the Web Manifest. 993 // Returns the HTMLLinkElement currently in use for the Web Manifest.
994 // Returns null if there is no such element. 994 // Returns null if there is no such element.
995 HTMLLinkElement* LinkManifest() const; 995 HTMLLinkElement* LinkManifest() const;
996 996
997 void UpdateFocusAppearanceLater(); 997 void UpdateFocusAppearanceLater();
998 void CancelFocusAppearanceUpdate(); 998 void CancelFocusAppearanceUpdate();
999 999
1000 bool IsDNSPrefetchEnabled() const { return is_dns_prefetch_enabled_; } 1000 bool IsDNSPrefetchEnabled() const { return is_dns_prefetch_enabled_; }
1001 void ParseDNSPrefetchControlHeader(const String&); 1001 void ParseDNSPrefetchControlHeader(const String&);
1002 1002
1003 void PostTask(TaskType,
1004 const WebTraceLocation&,
1005 std::unique_ptr<ExecutionContextTask>,
1006 const String& task_name_for_instrumentation = g_empty_string)
1007 override; // Executes the task on context's thread asynchronously.
1008
1009 void TasksWereSuspended() final; 1003 void TasksWereSuspended() final;
1010 void TasksWereResumed() final; 1004 void TasksWereResumed() final;
1011 bool TasksNeedSuspension() final; 1005 bool TasksNeedSuspension() final;
1012 1006
1013 void FinishedParsing(); 1007 void FinishedParsing();
1014 1008
1015 void SetEncodingData(const DocumentEncodingData& new_data); 1009 void SetEncodingData(const DocumentEncodingData& new_data);
1016 const WTF::TextEncoding& Encoding() const { 1010 const WTF::TextEncoding& Encoding() const {
1017 return encoding_data_.Encoding(); 1011 return encoding_data_.Encoding();
1018 } 1012 }
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
1441 void SetNthIndexCache(NthIndexCache* nth_index_cache) { 1435 void SetNthIndexCache(NthIndexCache* nth_index_cache) {
1442 DCHECK(!nth_index_cache_ || !nth_index_cache); 1436 DCHECK(!nth_index_cache_ || !nth_index_cache);
1443 nth_index_cache_ = nth_index_cache; 1437 nth_index_cache_ = nth_index_cache;
1444 } 1438 }
1445 1439
1446 const OriginAccessEntry& AccessEntryFromURL(); 1440 const OriginAccessEntry& AccessEntryFromURL();
1447 1441
1448 void SendSensitiveInputVisibility(); 1442 void SendSensitiveInputVisibility();
1449 void SendSensitiveInputVisibilityInternal(); 1443 void SendSensitiveInputVisibilityInternal();
1450 1444
1451 void RunExecutionContextTask(std::unique_ptr<ExecutionContextTask>,
1452 bool instrumenting);
1453
1454 bool HaveImportsLoaded() const; 1445 bool HaveImportsLoaded() const;
1455 1446
1456 DocumentLifecycle lifecycle_; 1447 DocumentLifecycle lifecycle_;
1457 1448
1458 bool has_nodes_with_placeholder_style_; 1449 bool has_nodes_with_placeholder_style_;
1459 bool evaluate_media_queries_on_style_recalc_; 1450 bool evaluate_media_queries_on_style_recalc_;
1460 1451
1461 // If we do ignore the pending stylesheet count, then we need to add a boolean 1452 // If we do ignore the pending stylesheet count, then we need to add a boolean
1462 // to track that this happened so that we can do a full repaint when the 1453 // to track that this happened so that we can do a full repaint when the
1463 // stylesheets do eventually load. 1454 // stylesheets do eventually load.
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
1741 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1732 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1742 1733
1743 } // namespace blink 1734 } // namespace blink
1744 1735
1745 #ifndef NDEBUG 1736 #ifndef NDEBUG
1746 // Outside the WebCore namespace for ease of invocation from gdb. 1737 // Outside the WebCore namespace for ease of invocation from gdb.
1747 CORE_EXPORT void showLiveDocumentInstances(); 1738 CORE_EXPORT void showLiveDocumentInstances();
1748 #endif 1739 #endif
1749 1740
1750 #endif // Document_h 1741 #endif // Document_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/BUILD.gn ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698