| 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" | |
| 45 #include "webkit/media/audio_decoder.h" | 44 #include "webkit/media/audio_decoder.h" |
| 46 #include "webkit/plugins/npapi/plugin_instance.h" | 45 #include "webkit/plugins/npapi/plugin_instance.h" |
| 47 #include "webkit/plugins/webplugininfo.h" | 46 #include "webkit/plugins/webplugininfo.h" |
| 48 | 47 |
| 49 #if defined(OS_LINUX) | 48 #if defined(OS_LINUX) |
| 50 #include "v8/include/v8.h" | 49 #include "v8/include/v8.h" |
| 51 #endif | 50 #endif |
| 52 | 51 |
| 53 using WebKit::WebAudioBus; | 52 using WebKit::WebAudioBus; |
| 54 using WebKit::WebCookie; | 53 using WebKit::WebCookie; |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 } | 679 } |
| 681 } | 680 } |
| 682 | 681 |
| 683 // static | 682 // static |
| 684 void WebKitPlatformSupportImpl::DestroyCurrentThread(void* thread) { | 683 void WebKitPlatformSupportImpl::DestroyCurrentThread(void* thread) { |
| 685 WebThreadImplForMessageLoop* impl = | 684 WebThreadImplForMessageLoop* impl = |
| 686 static_cast<WebThreadImplForMessageLoop*>(thread); | 685 static_cast<WebThreadImplForMessageLoop*>(thread); |
| 687 delete impl; | 686 delete impl; |
| 688 } | 687 } |
| 689 | 688 |
| 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 | |
| 702 } // namespace webkit_glue | 689 } // namespace webkit_glue |
| OLD | NEW |