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

Unified Diff: third_party/WebKit/Source/core/dom/StringCallback.h

Issue 2586173003: Inline StringCallback::scheduleCallback to the caller (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/BUILD.gn ('k') | third_party/WebKit/Source/core/dom/StringCallback.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/StringCallback.h
diff --git a/third_party/WebKit/Source/core/dom/StringCallback.h b/third_party/WebKit/Source/core/dom/StringCallback.h
index a48211cd9d41724d58ce557efcc4821fb8abdd2d..223ea396bac6c791f7f05b12d0a28ffd3c468ba7 100644
--- a/third_party/WebKit/Source/core/dom/StringCallback.h
+++ b/third_party/WebKit/Source/core/dom/StringCallback.h
@@ -36,21 +36,11 @@
namespace blink {
-class ExecutionContext;
-enum class TaskType : unsigned;
-
class StringCallback : public GarbageCollectedFinalized<StringCallback> {
public:
virtual ~StringCallback() {}
DEFINE_INLINE_VIRTUAL_TRACE() {}
virtual void handleEvent(const String& data) = 0;
-
- // Helper to post callback task.
- static void scheduleCallback(TaskType,
- StringCallback*,
- ExecutionContext*,
- const String& data,
- const String& instrumentationName);
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/BUILD.gn ('k') | third_party/WebKit/Source/core/dom/StringCallback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698