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

Unified Diff: webkit/child/webkitplatformsupport_child_impl.cc

Issue 16834004: move webkit/glue/worker_task_* to webkit/child/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 | « webkit/child/webkitplatformsupport_child_impl.h ('k') | webkit/child/worker_task_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/child/webkitplatformsupport_child_impl.cc
diff --git a/webkit/child/webkitplatformsupport_child_impl.cc b/webkit/child/webkitplatformsupport_child_impl.cc
index 456a5c90566e476f7ff986f653e47808041e9c0b..4e77cce514ac21c090116eb4907d82ed812a4d71 100644
--- a/webkit/child/webkitplatformsupport_child_impl.cc
+++ b/webkit/child/webkitplatformsupport_child_impl.cc
@@ -6,6 +6,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
#include "webkit/child/fling_curve_configuration.h"
+#include "webkit/child/worker_task_runner.h"
#if defined(OS_ANDROID)
#include "webkit/child/fling_animator_impl_android.h"
@@ -42,4 +43,16 @@ WebKitPlatformSupportChildImpl::createFlingAnimationCurve(
cumulative_scroll);
}
+void WebKitPlatformSupportChildImpl::didStartWorkerRunLoop(
+ const WebKit::WebWorkerRunLoop& runLoop) {
+ WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance();
+ worker_task_runner->OnWorkerRunLoopStarted(runLoop);
+}
+
+void WebKitPlatformSupportChildImpl::didStopWorkerRunLoop(
+ const WebKit::WebWorkerRunLoop& runLoop) {
+ WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance();
+ worker_task_runner->OnWorkerRunLoopStopped(runLoop);
+}
+
} // namespace webkit_glue
« no previous file with comments | « webkit/child/webkitplatformsupport_child_impl.h ('k') | webkit/child/worker_task_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698