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_CANDIDATE_H_ | 5 #ifndef CC_OUTPUT_OVERLAY_CANDIDATE_H_ |
6 #define CC_OUTPUT_OVERLAY_CANDIDATE_H_ | 6 #define CC_OUTPUT_OVERLAY_CANDIDATE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "cc/base/cc_export.h" | |
12 #include "cc/base/resource_id.h" | 11 #include "cc/base/resource_id.h" |
| 12 #include "cc/cc_export.h" |
13 #include "cc/quads/render_pass.h" | 13 #include "cc/quads/render_pass.h" |
14 #include "ui/gfx/buffer_types.h" | 14 #include "ui/gfx/buffer_types.h" |
15 #include "ui/gfx/geometry/rect.h" | 15 #include "ui/gfx/geometry/rect.h" |
16 #include "ui/gfx/geometry/rect_f.h" | 16 #include "ui/gfx/geometry/rect_f.h" |
17 #include "ui/gfx/geometry/size.h" | 17 #include "ui/gfx/geometry/size.h" |
18 #include "ui/gfx/overlay_transform.h" | 18 #include "ui/gfx/overlay_transform.h" |
19 #include "ui/gfx/transform.h" | 19 #include "ui/gfx/transform.h" |
20 | 20 |
21 namespace gfx { | 21 namespace gfx { |
22 class Rect; | 22 class Rect; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 // overlay, if one backs them with a SurfaceView. | 122 // overlay, if one backs them with a SurfaceView. |
123 PromotionHintInfoMap promotion_hint_info_map_; | 123 PromotionHintInfoMap promotion_hint_info_map_; |
124 | 124 |
125 // Helper to insert |candidate| into |promotion_hint_info_|. | 125 // Helper to insert |candidate| into |promotion_hint_info_|. |
126 void AddPromotionHint(const OverlayCandidate& candidate); | 126 void AddPromotionHint(const OverlayCandidate& candidate); |
127 }; | 127 }; |
128 | 128 |
129 } // namespace cc | 129 } // namespace cc |
130 | 130 |
131 #endif // CC_OUTPUT_OVERLAY_CANDIDATE_H_ | 131 #endif // CC_OUTPUT_OVERLAY_CANDIDATE_H_ |
OLD | NEW |