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

Unified Diff: Source/core/dom/Microtask.h

Issue 14660019: Run Mutation Observer and Custom Element callbacks consistently at microtask checkpoint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing. Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/CustomElementRegistry.cpp ('k') | Source/core/dom/Microtask.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Microtask.h
diff --git a/Source/modules/mediastream/RTCSessionDescriptionCallback.idl b/Source/core/dom/Microtask.h
similarity index 86%
copy from Source/modules/mediastream/RTCSessionDescriptionCallback.idl
copy to Source/core/dom/Microtask.h
index e80be03efef811ef87092de3db6ebefd81c2ed7f..27f72cbec01e5795593d3e545a3b5ca3e5c046fa 100644
--- a/Source/modules/mediastream/RTCSessionDescriptionCallback.idl
+++ b/Source/core/dom/Microtask.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
+ * Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -28,7 +28,19 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-callback interface RTCSessionDescriptionCallback {
- boolean handleEvent(RTCSessionDescription sdp);
+#ifndef Microtask_h
+#define Microtask_h
+
+namespace WebCore {
+
+class Microtask {
+public:
+ static void performCheckpoint();
+
+private:
+ explicit Microtask();
};
+}
+
+#endif // Microtask_h
« no previous file with comments | « Source/core/dom/CustomElementRegistry.cpp ('k') | Source/core/dom/Microtask.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698