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/common/user_agent/user_agent.h" |
| 56 #include "webkit/common/user_agent/user_agent_util.h" |
55 #include "webkit/fileapi/isolated_context.h" | 57 #include "webkit/fileapi/isolated_context.h" |
56 #include "webkit/glue/webkit_glue.h" | 58 #include "webkit/glue/webkit_glue.h" |
57 #include "webkit/glue/webkitplatformsupport_impl.h" | 59 #include "webkit/glue/webkitplatformsupport_impl.h" |
58 #include "webkit/glue/webthread_impl.h" | 60 #include "webkit/glue/webthread_impl.h" |
59 #include "webkit/glue/weburlrequest_extradata_impl.h" | 61 #include "webkit/glue/weburlrequest_extradata_impl.h" |
60 #include "webkit/gpu/test_context_provider_factory.h" | 62 #include "webkit/gpu/test_context_provider_factory.h" |
61 #include "webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" | 63 #include "webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" |
62 #include "webkit/media/media_stream_client.h" | 64 #include "webkit/media/media_stream_client.h" |
63 #include "webkit/media/webmediaplayer_impl.h" | 65 #include "webkit/media/webmediaplayer_impl.h" |
64 #include "webkit/media/webmediaplayer_ms.h" | 66 #include "webkit/media/webmediaplayer_ms.h" |
65 #include "webkit/media/webmediaplayer_params.h" | 67 #include "webkit/media/webmediaplayer_params.h" |
66 #include "webkit/plugins/npapi/plugin_list.h" | 68 #include "webkit/plugins/npapi/plugin_list.h" |
67 #include "webkit/plugins/npapi/webplugin_impl.h" | 69 #include "webkit/plugins/npapi/webplugin_impl.h" |
68 #include "webkit/plugins/npapi/webplugin_page_delegate.h" | 70 #include "webkit/plugins/npapi/webplugin_page_delegate.h" |
69 #include "webkit/plugins/webplugininfo.h" | 71 #include "webkit/plugins/webplugininfo.h" |
70 #include "webkit/renderer/compositor_bindings/web_compositor_support_impl.h" | 72 #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" | 73 #include "webkit/renderer/compositor_bindings/web_layer_tree_view_impl_for_testi
ng.h" |
72 #include "webkit/support/platform_support.h" | 74 #include "webkit/support/platform_support.h" |
73 #include "webkit/support/simple_database_system.h" | 75 #include "webkit/support/simple_database_system.h" |
74 #include "webkit/support/test_webidbfactory.h" | 76 #include "webkit/support/test_webidbfactory.h" |
75 #include "webkit/support/test_webkit_platform_support.h" | 77 #include "webkit/support/test_webkit_platform_support.h" |
76 #include "webkit/support/test_webplugin_page_delegate.h" | 78 #include "webkit/support/test_webplugin_page_delegate.h" |
77 #include "webkit/tools/test_shell/simple_appcache_system.h" | 79 #include "webkit/tools/test_shell/simple_appcache_system.h" |
78 #include "webkit/tools/test_shell/simple_dom_storage_system.h" | 80 #include "webkit/tools/test_shell/simple_dom_storage_system.h" |
79 #include "webkit/tools/test_shell/simple_file_system.h" | 81 #include "webkit/tools/test_shell/simple_file_system.h" |
80 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" | 82 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" |
81 #include "webkit/user_agent/user_agent.h" | |
82 #include "webkit/user_agent/user_agent_util.h" | |
83 | 83 |
84 #if defined(OS_ANDROID) | 84 #if defined(OS_ANDROID) |
85 #include "base/test/test_support_android.h" | 85 #include "base/test/test_support_android.h" |
86 #include "webkit/support/test_stream_texture_factory_android.h" | 86 #include "webkit/support/test_stream_texture_factory_android.h" |
87 #endif | 87 #endif |
88 | 88 |
89 using WebKit::WebCString; | 89 using WebKit::WebCString; |
90 using WebKit::WebDevToolsAgentClient; | 90 using WebKit::WebDevToolsAgentClient; |
91 using WebKit::WebFileSystem; | 91 using WebKit::WebFileSystem; |
92 using WebKit::WebFileSystemCallbacks; | 92 using WebKit::WebFileSystemCallbacks; |
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 // Logging | 846 // Logging |
847 void EnableWebCoreLogChannels(const std::string& channels) { | 847 void EnableWebCoreLogChannels(const std::string& channels) { |
848 webkit_glue::EnableWebCoreLogChannels(channels); | 848 webkit_glue::EnableWebCoreLogChannels(channels); |
849 } | 849 } |
850 | 850 |
851 void SetGamepadData(const WebKit::WebGamepads& pads) { | 851 void SetGamepadData(const WebKit::WebGamepads& pads) { |
852 test_environment->webkit_platform_support()->setGamepadData(pads); | 852 test_environment->webkit_platform_support()->setGamepadData(pads); |
853 } | 853 } |
854 | 854 |
855 } // namespace webkit_support | 855 } // namespace webkit_support |
OLD | NEW |