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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
44 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLError.
h" | 44 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLError.
h" |
45 #if defined(TOOLKIT_GTK) | 45 #if defined(TOOLKIT_GTK) |
46 #include "ui/base/keycodes/keyboard_code_conversion_gtk.h" | 46 #include "ui/base/keycodes/keyboard_code_conversion_gtk.h" |
47 #endif | 47 #endif |
48 #include "ui/gl/gl_context.h" | 48 #include "ui/gl/gl_context.h" |
49 #include "ui/gl/gl_implementation.h" | 49 #include "ui/gl/gl_implementation.h" |
50 #include "ui/gl/gl_surface.h" | 50 #include "ui/gl/gl_surface.h" |
51 #include "webkit/appcache/web_application_cache_host_impl.h" | 51 #include "webkit/appcache/web_application_cache_host_impl.h" |
52 #include "webkit/fileapi/isolated_context.h" | 52 #include "webkit/fileapi/isolated_context.h" |
53 #include "webkit/glue/user_agent.h" | |
54 #include "webkit/glue/webkit_constants.h" | 53 #include "webkit/glue/webkit_constants.h" |
55 #include "webkit/glue/webkit_glue.h" | 54 #include "webkit/glue/webkit_glue.h" |
56 #include "webkit/glue/webkitplatformsupport_impl.h" | 55 #include "webkit/glue/webkitplatformsupport_impl.h" |
57 #include "webkit/glue/weburlrequest_extradata_impl.h" | 56 #include "webkit/glue/weburlrequest_extradata_impl.h" |
58 #include "webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" | 57 #include "webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h" |
59 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" | 58 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" |
60 #if defined(OS_ANDROID) | 59 #if defined(OS_ANDROID) |
61 #include "webkit/media/android/webmediaplayer_android.h" | 60 #include "webkit/media/android/webmediaplayer_android.h" |
62 #include "webkit/media/android/webmediaplayer_manager_android.h" | 61 #include "webkit/media/android/webmediaplayer_manager_android.h" |
63 #endif | 62 #endif |
64 #include "webkit/media/webmediaplayer_impl.h" | 63 #include "webkit/media/webmediaplayer_impl.h" |
65 #include "webkit/plugins/npapi/plugin_list.h" | 64 #include "webkit/plugins/npapi/plugin_list.h" |
66 #include "webkit/plugins/npapi/webplugin_impl.h" | 65 #include "webkit/plugins/npapi/webplugin_impl.h" |
67 #include "webkit/plugins/npapi/webplugin_page_delegate.h" | 66 #include "webkit/plugins/npapi/webplugin_page_delegate.h" |
68 #include "webkit/plugins/webplugininfo.h" | 67 #include "webkit/plugins/webplugininfo.h" |
69 #include "webkit/support/platform_support.h" | 68 #include "webkit/support/platform_support.h" |
70 #include "webkit/support/simple_database_system.h" | 69 #include "webkit/support/simple_database_system.h" |
71 #include "webkit/support/test_webkit_platform_support.h" | 70 #include "webkit/support/test_webkit_platform_support.h" |
72 #include "webkit/support/test_webplugin_page_delegate.h" | 71 #include "webkit/support/test_webplugin_page_delegate.h" |
73 #include "webkit/tools/test_shell/simple_appcache_system.h" | 72 #include "webkit/tools/test_shell/simple_appcache_system.h" |
74 #include "webkit/tools/test_shell/simple_dom_storage_system.h" | 73 #include "webkit/tools/test_shell/simple_dom_storage_system.h" |
75 #include "webkit/tools/test_shell/simple_file_system.h" | 74 #include "webkit/tools/test_shell/simple_file_system.h" |
76 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" | 75 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" |
| 76 #include "webkit/user_agent/user_agent.h" |
| 77 #include "webkit/user_agent/user_agent_util.h" |
77 | 78 |
78 #if defined(OS_ANDROID) | 79 #if defined(OS_ANDROID) |
79 #include "base/test/test_support_android.h" | 80 #include "base/test/test_support_android.h" |
80 #include "webkit/support/test_stream_texture_factory_android.h" | 81 #include "webkit/support/test_stream_texture_factory_android.h" |
81 #endif | 82 #endif |
82 | 83 |
83 using WebKit::WebCString; | 84 using WebKit::WebCString; |
84 using WebKit::WebDevToolsAgentClient; | 85 using WebKit::WebDevToolsAgentClient; |
85 using WebKit::WebFileSystem; | 86 using WebKit::WebFileSystem; |
86 using WebKit::WebFileSystemCallbacks; | 87 using WebKit::WebFileSystemCallbacks; |
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 // Logging | 842 // Logging |
842 void EnableWebCoreLogChannels(const std::string& channels) { | 843 void EnableWebCoreLogChannels(const std::string& channels) { |
843 webkit_glue::EnableWebCoreLogChannels(channels); | 844 webkit_glue::EnableWebCoreLogChannels(channels); |
844 } | 845 } |
845 | 846 |
846 void SetGamepadData(const WebKit::WebGamepads& pads) { | 847 void SetGamepadData(const WebKit::WebGamepads& pads) { |
847 test_environment->webkit_platform_support()->setGamepadData(pads); | 848 test_environment->webkit_platform_support()->setGamepadData(pads); |
848 } | 849 } |
849 | 850 |
850 } // namespace webkit_support | 851 } // namespace webkit_support |
OLD | NEW |