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

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

Issue 2580263002: Remove TaskType::Unspecified (14) (Closed)
Patch Set: rebase Created 3 years, 11 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/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 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 // Returns the HTMLLinkElement currently in use for the Web Manifest. 973 // Returns the HTMLLinkElement currently in use for the Web Manifest.
974 // Returns null if there is no such element. 974 // Returns null if there is no such element.
975 HTMLLinkElement* linkManifest() const; 975 HTMLLinkElement* linkManifest() const;
976 976
977 void updateFocusAppearanceSoon(SelectionBehaviorOnFocus); 977 void updateFocusAppearanceSoon(SelectionBehaviorOnFocus);
978 void cancelFocusAppearanceUpdate(); 978 void cancelFocusAppearanceUpdate();
979 979
980 bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; } 980 bool isDNSPrefetchEnabled() const { return m_isDNSPrefetchEnabled; }
981 void parseDNSPrefetchControlHeader(const String&); 981 void parseDNSPrefetchControlHeader(const String&);
982 982
983 using ExecutionContext::postTask;
984 void postTask(TaskType, 983 void postTask(TaskType,
985 const WebTraceLocation&, 984 const WebTraceLocation&,
986 std::unique_ptr<ExecutionContextTask>, 985 std::unique_ptr<ExecutionContextTask>,
987 const String& taskNameForInstrumentation = emptyString()) 986 const String& taskNameForInstrumentation = emptyString())
988 override; // Executes the task on context's thread asynchronously. 987 override; // Executes the task on context's thread asynchronously.
989 988
990 void tasksWereSuspended() final; 989 void tasksWereSuspended() final;
991 void tasksWereResumed() final; 990 void tasksWereResumed() final;
992 bool tasksNeedSuspension() final; 991 bool tasksNeedSuspension() final;
993 992
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
1719 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true); 1718 DEFINE_TYPE_CASTS(TreeScope, Document, document, true, true);
1720 1719
1721 } // namespace blink 1720 } // namespace blink
1722 1721
1723 #ifndef NDEBUG 1722 #ifndef NDEBUG
1724 // Outside the WebCore namespace for ease of invocation from gdb. 1723 // Outside the WebCore namespace for ease of invocation from gdb.
1725 CORE_EXPORT void showLiveDocumentInstances(); 1724 CORE_EXPORT void showLiveDocumentInstances();
1726 #endif 1725 #endif
1727 1726
1728 #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