OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/message_loop/message_loop_proxy.h" | 6 #include "base/message_loop/message_loop_proxy.h" |
7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
8 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
9 #include "content/browser/gpu/compositor_util.h" | 9 #include "content/browser/gpu/compositor_util.h" |
10 #include "content/browser/gpu/gpu_data_manager_impl.h" | 10 #include "content/browser/gpu/gpu_data_manager_impl.h" |
11 #include "content/browser/renderer_host/dip_util.h" | 11 #include "content/browser/renderer_host/dip_util.h" |
12 #include "content/browser/renderer_host/render_widget_host_impl.h" | 12 #include "content/browser/renderer_host/render_widget_host_impl.h" |
13 #include "content/port/browser/render_widget_host_view_frame_subscriber.h" | 13 #include "content/port/browser/render_widget_host_view_frame_subscriber.h" |
14 #include "content/port/browser/render_widget_host_view_port.h" | 14 #include "content/port/browser/render_widget_host_view_port.h" |
15 #include "content/public/browser/gpu_data_manager.h" | 15 #include "content/public/browser/gpu_data_manager.h" |
16 #include "content/public/browser/render_view_host.h" | 16 #include "content/public/browser/render_view_host.h" |
17 #include "content/public/browser/web_contents.h" | 17 #include "content/public/browser/web_contents.h" |
18 #include "content/public/common/content_paths.h" | 18 #include "content/public/common/content_paths.h" |
19 #include "content/public/common/content_switches.h" | 19 #include "content/public/common/content_switches.h" |
20 #include "content/public/common/url_constants.h" | 20 #include "content/public/common/url_constants.h" |
21 #include "content/public/test/browser_test_utils.h" | 21 #include "content/public/test/browser_test_utils.h" |
22 #include "content/public/test/content_browser_test.h" | 22 #include "content/public/test/content_browser_test.h" |
23 #include "content/public/test/content_browser_test_utils.h" | 23 #include "content/public/test/content_browser_test_utils.h" |
24 #include "content/shell/browser/shell.h" | 24 #include "content/shell/browser/shell.h" |
25 #include "media/base/video_frame.h" | 25 #include "media/base/video_frame.h" |
26 #include "media/filters/skcanvas_video_renderer.h" | 26 #include "media/filters/skcanvas_video_renderer.h" |
27 #include "net/base/net_util.h" | 27 #include "net/base/filename_util.h" |
28 #include "third_party/skia/include/core/SkBitmap.h" | 28 #include "third_party/skia/include/core/SkBitmap.h" |
29 #include "third_party/skia/include/core/SkCanvas.h" | 29 #include "third_party/skia/include/core/SkCanvas.h" |
30 #include "ui/base/ui_base_switches.h" | 30 #include "ui/base/ui_base_switches.h" |
31 #include "ui/gfx/size_conversions.h" | 31 #include "ui/gfx/size_conversions.h" |
32 #include "ui/gfx/switches.h" | 32 #include "ui/gfx/switches.h" |
33 #include "ui/gl/gl_switches.h" | 33 #include "ui/gl/gl_switches.h" |
34 | 34 |
35 #if defined(OS_MACOSX) | 35 #if defined(OS_MACOSX) |
36 #include "ui/gl/io_surface_support_mac.h" | 36 #include "ui/gl/io_surface_support_mac.h" |
37 #endif | 37 #endif |
(...skipping 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
946 CompositingRenderWidgetHostViewBrowserTestTabCapture, | 946 CompositingRenderWidgetHostViewBrowserTestTabCapture, |
947 testing::ValuesIn(kAllCompositingModes)); | 947 testing::ValuesIn(kAllCompositingModes)); |
948 INSTANTIATE_TEST_CASE_P(GLAndSoftwareCompositing, | 948 INSTANTIATE_TEST_CASE_P(GLAndSoftwareCompositing, |
949 CompositingRenderWidgetHostViewTabCaptureHighDPI, | 949 CompositingRenderWidgetHostViewTabCaptureHighDPI, |
950 testing::ValuesIn(kAllCompositingModes)); | 950 testing::ValuesIn(kAllCompositingModes)); |
951 | 951 |
952 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) | 952 #endif // !defined(OS_ANDROID) && !defined(OS_IOS) |
953 | 953 |
954 } // namespace | 954 } // namespace |
955 } // namespace content | 955 } // namespace content |
OLD | NEW |