| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_RENDERER_GPU_RENDERER_COMPOSITOR_FRAME_SINK_H_ | 5 #ifndef CONTENT_RENDERER_GPU_RENDERER_COMPOSITOR_FRAME_SINK_H_ |
| 6 #define CONTENT_RENDERER_GPU_RENDERER_COMPOSITOR_FRAME_SINK_H_ | 6 #define CONTENT_RENDERER_GPU_RENDERER_COMPOSITOR_FRAME_SINK_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 #ifdef OS_ANDROID | 128 #ifdef OS_ANDROID |
| 129 float top_controls_height; | 129 float top_controls_height; |
| 130 float top_controls_shown_ratio; | 130 float top_controls_shown_ratio; |
| 131 float bottom_controls_height; | 131 float bottom_controls_height; |
| 132 float bottom_controls_shown_ratio; | 132 float bottom_controls_shown_ratio; |
| 133 cc::Selection<gfx::SelectionBound> viewport_selection; | 133 cc::Selection<gfx::SelectionBound> viewport_selection; |
| 134 bool has_transparent_background; | 134 bool has_transparent_background; |
| 135 #endif | 135 #endif |
| 136 } current_frame_data_; | 136 } current_frame_data_; |
| 137 | 137 |
| 138 int32_t last_used_frame_token_; |
| 139 |
| 138 base::ThreadChecker thread_checker_; | 140 base::ThreadChecker thread_checker_; |
| 139 bool bound_ = false; | 141 bool bound_ = false; |
| 140 }; | 142 }; |
| 141 | 143 |
| 142 } // namespace content | 144 } // namespace content |
| 143 | 145 |
| 144 #endif // CONTENT_RENDERER_GPU_RENDERER_COMPOSITOR_FRAME_SINK_H_ | 146 #endif // CONTENT_RENDERER_GPU_RENDERER_COMPOSITOR_FRAME_SINK_H_ |
| OLD | NEW |