OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/glue/webkitplatformsupport_impl.h" | 5 #include "webkit/glue/webkitplatformsupport_impl.h" |
6 | 6 |
7 #if defined(OS_LINUX) | 7 #if defined(OS_LINUX) |
8 #include <malloc.h> | 8 #include <malloc.h> |
9 #endif | 9 #endif |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" |
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginListBuilder.
h" | 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginListBuilder.
h" |
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" | 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" |
37 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
38 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" |
39 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" |
40 #include "webkit/glue/webkit_glue.h" | 40 #include "webkit/glue/webkit_glue.h" |
41 #include "webkit/glue/websocketstreamhandle_impl.h" | 41 #include "webkit/glue/websocketstreamhandle_impl.h" |
42 #include "webkit/glue/webthread_impl.h" | 42 #include "webkit/glue/webthread_impl.h" |
43 #include "webkit/glue/weburlloader_impl.h" | 43 #include "webkit/glue/weburlloader_impl.h" |
| 44 #include "webkit/glue/worker_task_runner.h" |
44 #include "webkit/media/audio_decoder.h" | 45 #include "webkit/media/audio_decoder.h" |
45 #include "webkit/plugins/npapi/plugin_instance.h" | 46 #include "webkit/plugins/npapi/plugin_instance.h" |
46 #include "webkit/plugins/webplugininfo.h" | 47 #include "webkit/plugins/webplugininfo.h" |
47 | 48 |
48 #if defined(OS_LINUX) | 49 #if defined(OS_LINUX) |
49 #include "v8/include/v8.h" | 50 #include "v8/include/v8.h" |
50 #endif | 51 #endif |
51 | 52 |
52 using WebKit::WebAudioBus; | 53 using WebKit::WebAudioBus; |
53 using WebKit::WebCookie; | 54 using WebKit::WebCookie; |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 } | 680 } |
680 } | 681 } |
681 | 682 |
682 // static | 683 // static |
683 void WebKitPlatformSupportImpl::DestroyCurrentThread(void* thread) { | 684 void WebKitPlatformSupportImpl::DestroyCurrentThread(void* thread) { |
684 WebThreadImplForMessageLoop* impl = | 685 WebThreadImplForMessageLoop* impl = |
685 static_cast<WebThreadImplForMessageLoop*>(thread); | 686 static_cast<WebThreadImplForMessageLoop*>(thread); |
686 delete impl; | 687 delete impl; |
687 } | 688 } |
688 | 689 |
| 690 void WebKitPlatformSupportImpl::didStartWorkerRunLoop( |
| 691 const WebKit::WebWorkerRunLoop& runLoop) { |
| 692 WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance(); |
| 693 worker_task_runner->OnWorkerRunLoopStarted(runLoop); |
| 694 } |
| 695 |
| 696 void WebKitPlatformSupportImpl::didStopWorkerRunLoop( |
| 697 const WebKit::WebWorkerRunLoop& runLoop) { |
| 698 WorkerTaskRunner* worker_task_runner = WorkerTaskRunner::Instance(); |
| 699 worker_task_runner->OnWorkerRunLoopStopped(runLoop); |
| 700 } |
| 701 |
689 } // namespace webkit_glue | 702 } // namespace webkit_glue |
OLD | NEW |