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 "components/test_runner/test_common.h" |
| 11 #include "components/test_runner/web_frame_test_proxy.h" |
| 12 #include "components/test_runner/web_test_proxy.h" |
10 #include "content/browser/bluetooth/bluetooth_dispatcher_host.h" | 13 #include "content/browser/bluetooth/bluetooth_dispatcher_host.h" |
11 #include "content/browser/renderer_host/render_process_host_impl.h" | 14 #include "content/browser/renderer_host/render_process_host_impl.h" |
12 #include "content/browser/renderer_host/render_widget_host_impl.h" | 15 #include "content/browser/renderer_host/render_widget_host_impl.h" |
13 #include "content/child/geofencing/web_geofencing_provider_impl.h" | 16 #include "content/child/geofencing/web_geofencing_provider_impl.h" |
14 #include "content/common/gpu/image_transport_surface.h" | 17 #include "content/common/gpu/image_transport_surface.h" |
15 #include "content/public/common/page_state.h" | 18 #include "content/public/common/page_state.h" |
16 #include "content/public/renderer/renderer_gamepad_provider.h" | 19 #include "content/public/renderer/renderer_gamepad_provider.h" |
17 #include "content/renderer/fetchers/manifest_fetcher.h" | 20 #include "content/renderer/fetchers/manifest_fetcher.h" |
18 #include "content/renderer/history_entry.h" | 21 #include "content/renderer/history_entry.h" |
19 #include "content/renderer/history_serialization.h" | 22 #include "content/renderer/history_serialization.h" |
20 #include "content/renderer/render_frame_impl.h" | 23 #include "content/renderer/render_frame_impl.h" |
21 #include "content/renderer/render_thread_impl.h" | 24 #include "content/renderer/render_thread_impl.h" |
22 #include "content/renderer/render_view_impl.h" | 25 #include "content/renderer/render_view_impl.h" |
23 #include "content/renderer/renderer_blink_platform_impl.h" | 26 #include "content/renderer/renderer_blink_platform_impl.h" |
24 #include "content/shell/renderer/test_runner/test_common.h" | |
25 #include "content/shell/renderer/test_runner/web_frame_test_proxy.h" | |
26 #include "content/shell/renderer/test_runner/web_test_proxy.h" | |
27 #include "device/bluetooth/bluetooth_adapter.h" | 27 #include "device/bluetooth/bluetooth_adapter.h" |
28 #include "third_party/WebKit/public/platform/WebBatteryStatus.h" | 28 #include "third_party/WebKit/public/platform/WebBatteryStatus.h" |
29 #include "third_party/WebKit/public/platform/WebGamepads.h" | 29 #include "third_party/WebKit/public/platform/WebGamepads.h" |
30 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eMotionData.h" | 30 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eMotionData.h" |
31 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eOrientationData.h" | 31 #include "third_party/WebKit/public/platform/modules/device_orientation/WebDevic
eOrientationData.h" |
32 #include "third_party/WebKit/public/web/WebHistoryItem.h" | 32 #include "third_party/WebKit/public/web/WebHistoryItem.h" |
33 #include "third_party/WebKit/public/web/WebView.h" | 33 #include "third_party/WebKit/public/web/WebView.h" |
34 | 34 |
35 #if defined(OS_MACOSX) | 35 #if defined(OS_MACOSX) |
36 #include "content/browser/frame_host/popup_menu_helper_mac.h" | 36 #include "content/browser/frame_host/popup_menu_helper_mac.h" |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 cc::TextureLayerClient* client) { | 429 cc::TextureLayerClient* client) { |
430 return cc::TextureLayer::CreateForMailbox( | 430 return cc::TextureLayer::CreateForMailbox( |
431 cc_blink::WebLayerImpl::LayerSettings(), client); | 431 cc_blink::WebLayerImpl::LayerSettings(), client); |
432 } | 432 } |
433 | 433 |
434 blink::WebLayer* InstantiateWebLayer(scoped_refptr<cc::TextureLayer> layer) { | 434 blink::WebLayer* InstantiateWebLayer(scoped_refptr<cc::TextureLayer> layer) { |
435 return new cc_blink::WebLayerImpl(layer); | 435 return new cc_blink::WebLayerImpl(layer); |
436 } | 436 } |
437 | 437 |
438 } // namespace content | 438 } // namespace content |
OLD | NEW |