| 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/support/webkit_support.h" | 5 #include "webkit/support/webkit_support.h" |
| 6 | 6 |
| 7 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
| 8 #include "base/base64.h" | 8 #include "base/base64.h" |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" | 45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" |
| 46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
| 47 #if defined(TOOLKIT_GTK) | 47 #if defined(TOOLKIT_GTK) |
| 48 #include "ui/base/keycodes/keyboard_code_conversion_gtk.h" | 48 #include "ui/base/keycodes/keyboard_code_conversion_gtk.h" |
| 49 #endif | 49 #endif |
| 50 #include "ui/gl/gl_context.h" | 50 #include "ui/gl/gl_context.h" |
| 51 #include "ui/gl/gl_implementation.h" | 51 #include "ui/gl/gl_implementation.h" |
| 52 #include "ui/gl/gl_surface.h" | 52 #include "ui/gl/gl_surface.h" |
| 53 #include "webkit/appcache/web_application_cache_host_impl.h" | 53 #include "webkit/appcache/web_application_cache_host_impl.h" |
| 54 #include "webkit/base/file_path_string_conversions.h" | 54 #include "webkit/base/file_path_string_conversions.h" |
| 55 #include "webkit/compositor_bindings/web_compositor_support_impl.h" | |
| 56 #include "webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h" | |
| 57 #include "webkit/fileapi/isolated_context.h" | 55 #include "webkit/fileapi/isolated_context.h" |
| 58 #include "webkit/glue/webkit_glue.h" | 56 #include "webkit/glue/webkit_glue.h" |
| 59 #include "webkit/glue/webkitplatformsupport_impl.h" | 57 #include "webkit/glue/webkitplatformsupport_impl.h" |
| 60 #include "webkit/glue/webthread_impl.h" | 58 #include "webkit/glue/webthread_impl.h" |
| 61 #include "webkit/glue/weburlrequest_extradata_impl.h" | 59 #include "webkit/glue/weburlrequest_extradata_impl.h" |
| 62 #include "webkit/gpu/test_context_provider_factory.h" | 60 #include "webkit/gpu/test_context_provider_factory.h" |
| 63 #include "webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" | 61 #include "webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" |
| 64 #include "webkit/media/media_stream_client.h" | 62 #include "webkit/media/media_stream_client.h" |
| 65 #include "webkit/media/webmediaplayer_impl.h" | 63 #include "webkit/media/webmediaplayer_impl.h" |
| 66 #include "webkit/media/webmediaplayer_ms.h" | 64 #include "webkit/media/webmediaplayer_ms.h" |
| 67 #include "webkit/media/webmediaplayer_params.h" | 65 #include "webkit/media/webmediaplayer_params.h" |
| 68 #include "webkit/plugins/npapi/plugin_list.h" | 66 #include "webkit/plugins/npapi/plugin_list.h" |
| 69 #include "webkit/plugins/npapi/webplugin_impl.h" | 67 #include "webkit/plugins/npapi/webplugin_impl.h" |
| 70 #include "webkit/plugins/npapi/webplugin_page_delegate.h" | 68 #include "webkit/plugins/npapi/webplugin_page_delegate.h" |
| 71 #include "webkit/plugins/webplugininfo.h" | 69 #include "webkit/plugins/webplugininfo.h" |
| 70 #include "webkit/renderer/compositor_bindings/web_compositor_support_impl.h" |
| 71 #include "webkit/renderer/compositor_bindings/web_layer_tree_view_impl_for_testi
ng.h" |
| 72 #include "webkit/support/platform_support.h" | 72 #include "webkit/support/platform_support.h" |
| 73 #include "webkit/support/simple_database_system.h" | 73 #include "webkit/support/simple_database_system.h" |
| 74 #include "webkit/support/test_webidbfactory.h" | 74 #include "webkit/support/test_webidbfactory.h" |
| 75 #include "webkit/support/test_webkit_platform_support.h" | 75 #include "webkit/support/test_webkit_platform_support.h" |
| 76 #include "webkit/support/test_webplugin_page_delegate.h" | 76 #include "webkit/support/test_webplugin_page_delegate.h" |
| 77 #include "webkit/tools/test_shell/simple_appcache_system.h" | 77 #include "webkit/tools/test_shell/simple_appcache_system.h" |
| 78 #include "webkit/tools/test_shell/simple_dom_storage_system.h" | 78 #include "webkit/tools/test_shell/simple_dom_storage_system.h" |
| 79 #include "webkit/tools/test_shell/simple_file_system.h" | 79 #include "webkit/tools/test_shell/simple_file_system.h" |
| 80 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" | 80 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" |
| 81 #include "webkit/user_agent/user_agent.h" | 81 #include "webkit/user_agent/user_agent.h" |
| (...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 837 // Logging | 837 // Logging |
| 838 void EnableWebCoreLogChannels(const std::string& channels) { | 838 void EnableWebCoreLogChannels(const std::string& channels) { |
| 839 webkit_glue::EnableWebCoreLogChannels(channels); | 839 webkit_glue::EnableWebCoreLogChannels(channels); |
| 840 } | 840 } |
| 841 | 841 |
| 842 void SetGamepadData(const WebKit::WebGamepads& pads) { | 842 void SetGamepadData(const WebKit::WebGamepads& pads) { |
| 843 test_environment->webkit_platform_support()->setGamepadData(pads); | 843 test_environment->webkit_platform_support()->setGamepadData(pads); |
| 844 } | 844 } |
| 845 | 845 |
| 846 } // namespace webkit_support | 846 } // namespace webkit_support |
| OLD | NEW |