| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 645 scoped_refptr<base::MessageLoopProxy> message_loop = | 645 scoped_refptr<base::MessageLoopProxy> message_loop = |
| 646 base::MessageLoopProxy::current(); | 646 base::MessageLoopProxy::current(); |
| 647 if (!message_loop) | 647 if (!message_loop) |
| 648 return NULL; | 648 return NULL; |
| 649 | 649 |
| 650 thread = new WebThreadImplForMessageLoop(message_loop); | 650 thread = new WebThreadImplForMessageLoop(message_loop); |
| 651 current_thread_slot_.Set(thread); | 651 current_thread_slot_.Set(thread); |
| 652 return thread; | 652 return thread; |
| 653 } | 653 } |
| 654 | 654 |
| 655 WebKit::WebCompositorSupport* WebKitPlatformSupportImpl::compositorSupport() { |
| 656 return &compositor_support_; |
| 657 } |
| 658 |
| 655 base::PlatformFile WebKitPlatformSupportImpl::databaseOpenFile( | 659 base::PlatformFile WebKitPlatformSupportImpl::databaseOpenFile( |
| 656 const WebKit::WebString& vfs_file_name, int desired_flags) { | 660 const WebKit::WebString& vfs_file_name, int desired_flags) { |
| 657 return base::kInvalidPlatformFileValue; | 661 return base::kInvalidPlatformFileValue; |
| 658 } | 662 } |
| 659 | 663 |
| 660 int WebKitPlatformSupportImpl::databaseDeleteFile( | 664 int WebKitPlatformSupportImpl::databaseDeleteFile( |
| 661 const WebKit::WebString& vfs_file_name, bool sync_dir) { | 665 const WebKit::WebString& vfs_file_name, bool sync_dir) { |
| 662 return -1; | 666 return -1; |
| 663 } | 667 } |
| 664 | 668 |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 worker_task_runner->OnWorkerRunLoopStopped(runLoop); | 805 worker_task_runner->OnWorkerRunLoopStopped(runLoop); |
| 802 } | 806 } |
| 803 | 807 |
| 804 #if defined(OS_ANDROID) | 808 #if defined(OS_ANDROID) |
| 805 WebKit::WebFlingAnimator* WebKitPlatformSupportImpl::createFlingAnimator() { | 809 WebKit::WebFlingAnimator* WebKitPlatformSupportImpl::createFlingAnimator() { |
| 806 return new FlingAnimatorImpl(); | 810 return new FlingAnimatorImpl(); |
| 807 } | 811 } |
| 808 #endif | 812 #endif |
| 809 | 813 |
| 810 } // namespace webkit_glue | 814 } // namespace webkit_glue |
| OLD | NEW |