| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "cc/output/overlay_strategy_underlay.h" | 5 #include "cc/output/overlay_strategy_underlay.h" |
| 6 | 6 |
| 7 #include "cc/output/overlay_candidate_validator.h" | 7 #include "cc/output/overlay_candidate_validator.h" |
| 8 #include "cc/quads/draw_quad.h" | 8 #include "cc/quads/draw_quad.h" |
| 9 #include "cc/quads/solid_color_draw_quad.h" | 9 #include "cc/quads/solid_color_draw_quad.h" |
| 10 #include "cc/quads/stream_video_draw_quad.h" |
| 10 | 11 |
| 11 namespace cc { | 12 namespace cc { |
| 12 | 13 |
| 13 OverlayStrategyUnderlay::OverlayStrategyUnderlay( | 14 OverlayStrategyUnderlay::OverlayStrategyUnderlay( |
| 14 OverlayCandidateValidator* capability_checker) | 15 OverlayCandidateValidator* capability_checker) |
| 15 : capability_checker_(capability_checker) { | 16 : capability_checker_(capability_checker) { |
| 16 DCHECK(capability_checker); | 17 DCHECK(capability_checker); |
| 17 } | 18 } |
| 18 | 19 |
| 19 OverlayStrategyUnderlay::~OverlayStrategyUnderlay() {} | 20 OverlayStrategyUnderlay::~OverlayStrategyUnderlay() {} |
| (...skipping 28 matching lines...) Expand all Loading... |
| 48 SK_ColorTRANSPARENT, true); | 49 SK_ColorTRANSPARENT, true); |
| 49 candidate_list->swap(new_candidate_list); | 50 candidate_list->swap(new_candidate_list); |
| 50 return true; | 51 return true; |
| 51 } | 52 } |
| 52 } | 53 } |
| 53 | 54 |
| 54 return false; | 55 return false; |
| 55 } | 56 } |
| 56 | 57 |
| 57 } // namespace cc | 58 } // namespace cc |
| OLD | NEW |