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 "content/public/test/layouttest_support.h" | 5 #include "content/public/test/layouttest_support.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
9 #include "cc/blink/web_layer_impl.h" | 9 #include "cc/blink/web_layer_impl.h" |
10 #include "content/browser/renderer_host/render_widget_host_impl.h" | 10 #include "content/browser/renderer_host/render_widget_host_impl.h" |
11 #include "content/child/bluetooth/web_bluetooth_impl.h" | 11 #include "content/child/bluetooth/web_bluetooth_impl.h" |
12 #include "content/child/geofencing/web_geofencing_provider_impl.h" | 12 #include "content/child/geofencing/web_geofencing_provider_impl.h" |
13 #include "content/common/gpu/image_transport_surface.h" | 13 #include "content/common/gpu/image_transport_surface.h" |
14 #include "content/public/common/page_state.h" | 14 #include "content/public/common/page_state.h" |
15 #include "content/public/renderer/renderer_gamepad_provider.h" | 15 #include "content/public/renderer/renderer_gamepad_provider.h" |
16 #include "content/renderer/fetchers/manifest_fetcher.h" | 16 #include "content/renderer/fetchers/manifest_fetcher.h" |
17 #include "content/renderer/history_entry.h" | 17 #include "content/renderer/history_entry.h" |
18 #include "content/renderer/history_serialization.h" | 18 #include "content/renderer/history_serialization.h" |
19 #include "content/renderer/render_frame_impl.h" | 19 #include "content/renderer/render_frame_impl.h" |
20 #include "content/renderer/render_thread_impl.h" | 20 #include "content/renderer/render_thread_impl.h" |
21 #include "content/renderer/render_view_impl.h" | 21 #include "content/renderer/render_view_impl.h" |
22 #include "content/renderer/renderer_blink_platform_impl.h" | 22 #include "content/renderer/renderer_blink_platform_impl.h" |
23 #include "content/shell/renderer/test_runner/test_common.h" | 23 #include "content/shell/renderer/test_runner/test_common.h" |
24 #include "content/shell/renderer/test_runner/web_frame_test_proxy.h" | 24 #include "content/shell/renderer/test_runner/web_frame_test_proxy.h" |
25 #include "content/shell/renderer/test_runner/web_test_proxy.h" | 25 #include "content/shell/renderer/test_runner/web_test_proxy.h" |
26 #include "third_party/WebKit/public/platform/WebBatteryStatus.h" | 26 #include "third_party/WebKit/public/platform/WebBatteryStatus.h" |
27 #include "third_party/WebKit/public/platform/WebDeviceMotionData.h" | |
28 #include "third_party/WebKit/public/platform/WebDeviceOrientationData.h" | |
29 #include "third_party/WebKit/public/platform/WebGamepads.h" | 27 #include "third_party/WebKit/public/platform/WebGamepads.h" |
| 28 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eMotionData.h" |
| 29 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eOrientationData.h" |
30 #include "third_party/WebKit/public/web/WebHistoryItem.h" | 30 #include "third_party/WebKit/public/web/WebHistoryItem.h" |
31 #include "third_party/WebKit/public/web/WebView.h" | 31 #include "third_party/WebKit/public/web/WebView.h" |
32 | 32 |
33 #if defined(OS_MACOSX) | 33 #if defined(OS_MACOSX) |
34 #include "content/browser/frame_host/popup_menu_helper_mac.h" | 34 #include "content/browser/frame_host/popup_menu_helper_mac.h" |
35 #endif | 35 #endif |
36 | 36 |
37 using blink::WebBatteryStatus; | 37 using blink::WebBatteryStatus; |
38 using blink::WebDeviceMotionData; | 38 using blink::WebDeviceMotionData; |
39 using blink::WebDeviceOrientationData; | 39 using blink::WebDeviceOrientationData; |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 } | 414 } |
415 result.append("===============================================\n"); | 415 result.append("===============================================\n"); |
416 return result; | 416 return result; |
417 } | 417 } |
418 | 418 |
419 blink::WebLayer* InstantiateWebLayer(scoped_refptr<cc::TextureLayer> layer) { | 419 blink::WebLayer* InstantiateWebLayer(scoped_refptr<cc::TextureLayer> layer) { |
420 return new cc_blink::WebLayerImpl(layer); | 420 return new cc_blink::WebLayerImpl(layer); |
421 } | 421 } |
422 | 422 |
423 } // namespace content | 423 } // namespace content |
OLD | NEW |