OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/browser/compositor/reflector_impl.h" | 5 #include "content/browser/compositor/reflector_impl.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
| 9 #include "base/message_loop/message_loop.h" |
9 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
10 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
11 #include "build/build_config.h" | 12 #include "build/build_config.h" |
12 #include "cc/output/output_surface_frame.h" | 13 #include "cc/output/output_surface_frame.h" |
13 #include "cc/scheduler/begin_frame_source.h" | 14 #include "cc/scheduler/begin_frame_source.h" |
14 #include "cc/scheduler/delay_based_time_source.h" | 15 #include "cc/scheduler/delay_based_time_source.h" |
15 #include "cc/test/test_context_provider.h" | 16 #include "cc/test/test_context_provider.h" |
16 #include "cc/test/test_web_graphics_context_3d.h" | 17 #include "cc/test/test_web_graphics_context_3d.h" |
17 #include "components/display_compositor/compositor_overlay_candidate_validator.h
" | 18 #include "components/display_compositor/compositor_overlay_candidate_validator.h
" |
18 #include "content/browser/compositor/browser_compositor_output_surface.h" | 19 #include "content/browser/compositor/browser_compositor_output_surface.h" |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 plane_2.plane_z_order = 1; | 235 plane_2.plane_z_order = 1; |
235 list.push_back(plane_1); | 236 list.push_back(plane_1); |
236 list.push_back(plane_2); | 237 list.push_back(plane_2); |
237 output_surface_->GetOverlayCandidateValidator()->CheckOverlaySupport(&list); | 238 output_surface_->GetOverlayCandidateValidator()->CheckOverlaySupport(&list); |
238 EXPECT_FALSE(list[0].overlay_handled); | 239 EXPECT_FALSE(list[0].overlay_handled); |
239 } | 240 } |
240 #endif // defined(USE_OZONE) | 241 #endif // defined(USE_OZONE) |
241 | 242 |
242 } // namespace | 243 } // namespace |
243 } // namespace content | 244 } // namespace content |
OLD | NEW |