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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/child/webkitplatformsupport_child_impl.h ('k') | webkit/child/worker_task_runner.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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/child/webkitplatformsupport_child_impl.h" 5 #include "webkit/child/webkitplatformsupport_child_impl.h"
6 6
7 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 7 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
8 #include "webkit/child/fling_curve_configuration.h" 8 #include "webkit/child/fling_curve_configuration.h"
9 #include "webkit/child/worker_task_runner.h"
9 10
10 #if defined(OS_ANDROID) 11 #if defined(OS_ANDROID)
11 #include "webkit/child/fling_animator_impl_android.h" 12 #include "webkit/child/fling_animator_impl_android.h"
12 #endif 13 #endif
13 14
14 namespace webkit_glue { 15 namespace webkit_glue {
15 16
16 WebKitPlatformSupportChildImpl::WebKitPlatformSupportChildImpl() 17 WebKitPlatformSupportChildImpl::WebKitPlatformSupportChildImpl()
17 : fling_curve_configuration_(new FlingCurveConfiguration) {} 18 : fling_curve_configuration_(new FlingCurveConfiguration) {}
18 19
(...skipping 16 matching lines...) Expand all
35 #endif 36 #endif
36 37
37 if (device_source == WebKit::WebGestureEvent::Touchscreen) 38 if (device_source == WebKit::WebGestureEvent::Touchscreen)
38 return fling_curve_configuration_->CreateForTouchScreen(velocity, 39 return fling_curve_configuration_->CreateForTouchScreen(velocity,
39 cumulative_scroll); 40 cumulative_scroll);
40 41
41 return fling_curve_configuration_->CreateForTouchPad(velocity, 42 return fling_curve_configuration_->CreateForTouchPad(velocity,
42 cumulative_scroll); 43 cumulative_scroll);
43 } 44 }
44 45
46 void WebKitPlatformSupportChildImpl::didStartWorkerRunLoop(
47 const WebKit::WebWorkerRunLoop& runLoop) {
48 WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance();
49 worker_task_runner->OnWorkerRunLoopStarted(runLoop);
50 }
51
52 void WebKitPlatformSupportChildImpl::didStopWorkerRunLoop(
53 const WebKit::WebWorkerRunLoop& runLoop) {
54 WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance();
55 worker_task_runner->OnWorkerRunLoopStopped(runLoop);
56 }
57
45 } // namespace webkit_glue 58 } // namespace webkit_glue
OLDNEW
« 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