| 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 #ifndef CC_OUTPUT_OVERLAY_PROCESSOR_H_ | 5 #ifndef CC_OUTPUT_OVERLAY_PROCESSOR_H_ |
| 6 #define CC_OUTPUT_OVERLAY_PROCESSOR_H_ | 6 #define CC_OUTPUT_OVERLAY_PROCESSOR_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
| 11 #include "cc/output/ca_layer_overlay.h" | 11 #include "cc/output/ca_layer_overlay.h" |
| 12 #include "cc/output/overlay_candidate.h" | 12 #include "cc/output/overlay_candidate.h" |
| 13 #include "cc/quads/render_pass.h" | 13 #include "cc/quads/render_pass.h" |
| 14 | 14 |
| 15 namespace cc { | 15 namespace cc { |
| 16 class OutputSurface; | 16 class OutputSurface; |
| 17 class ResourceProvider; | 17 class ResourceProvider; |
| 18 | 18 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // Update |damage_rect| by removing damage casued by |candidates|. | 62 // Update |damage_rect| by removing damage casued by |candidates|. |
| 63 void UpdateDamageRect(OverlayCandidateList* candidates, | 63 void UpdateDamageRect(OverlayCandidateList* candidates, |
| 64 gfx::Rect* damage_rect); | 64 gfx::Rect* damage_rect); |
| 65 | 65 |
| 66 DISALLOW_COPY_AND_ASSIGN(OverlayProcessor); | 66 DISALLOW_COPY_AND_ASSIGN(OverlayProcessor); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace cc | 69 } // namespace cc |
| 70 | 70 |
| 71 #endif // CC_OUTPUT_OVERLAY_PROCESSOR_H_ | 71 #endif // CC_OUTPUT_OVERLAY_PROCESSOR_H_ |
| OLD | NEW |