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

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

Issue 2532013002: [SUSPENDED] Scheduler: Add deprecation comments on ExecutionContext::postTask() (Closed)
Patch Set: Created 4 years 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/ExecutionContext.h » ('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 972 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 // Returns the HTMLLinkElement currently in use for the Web Manifest. 983 // Returns the HTMLLinkElement currently in use for the Web Manifest.
984 // Returns null if there is no such element. 984 // Returns null if there is no such element.
985 HTMLLinkElement* linkManifest() const; 985 HTMLLinkElement* linkManifest() const;
986 986
987 void updateFocusAppearanceSoon(SelectionBehaviorOnFocus); 987 void updateFocusAppearanceSoon(SelectionBehaviorOnFocus);
988 void cancelFocusAppearanceUpdate(); 988 void cancelFocusAppearanceUpdate();
989 989
990 bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; } 990 bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; }
991 void parseDNSPrefetchControlHeader(const String&); 991 void parseDNSPrefetchControlHeader(const String&);
992 992
993 // FIXME(crbug.com/305497): This should be removed once LocalDOMWindow is an 993 // DEPRECATED: Please use TaskRunnerHelper or ParentFrameTaskRunners.
994 // ExecutionContext. 994 // (https://crbug.com/624696)
995 void postTask(const WebTraceLocation&, 995 // Executes the task on context's thread asynchronously.
tzik 2016/11/28 07:27:53 There are several missing feature that TaskRunnerH
nhiroki 2016/11/28 08:07:09 Thank you for letting me know it. Then, I'll wait
996 std::unique_ptr<ExecutionContextTask>, 996 void postTask(
997 const String& taskNameForInstrumentation = emptyString()) 997 const WebTraceLocation&,
998 override; // Executes the task on context's thread asynchronously. 998 std::unique_ptr<ExecutionContextTask>,
999 const String& taskNameForInstrumentation = emptyString()) override;
999 void postInspectorTask(const WebTraceLocation&, 1000 void postInspectorTask(const WebTraceLocation&,
1000 std::unique_ptr<ExecutionContextTask>); 1001 std::unique_ptr<ExecutionContextTask>);
1001 1002
1002 void tasksWereSuspended() final; 1003 void tasksWereSuspended() final;
1003 void tasksWereResumed() final; 1004 void tasksWereResumed() final;
1004 void suspendScheduledTasks() final; 1005 void suspendScheduledTasks() final;
1005 void resumeScheduledTasks() final; 1006 void resumeScheduledTasks() final;
1006 bool tasksNeedSuspension() final; 1007 bool tasksNeedSuspension() final;
1007 1008
1008 void finishedParsing(); 1009 void finishedParsing();
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
1717 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1718 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1718 1719
1719 } // namespace blink 1720 } // namespace blink
1720 1721
1721 #ifndef NDEBUG 1722 #ifndef NDEBUG
1722 // Outside the WebCore namespace for ease of invocation from gdb. 1723 // Outside the WebCore namespace for ease of invocation from gdb.
1723 CORE_EXPORT void showLiveDocumentInstances(); 1724 CORE_EXPORT void showLiveDocumentInstances();
1724 #endif 1725 #endif
1725 1726
1726 #endif // Document_h 1727 #endif // Document_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/ExecutionContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698