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/common/android/sync_compositor_messages.h" | 5 #include "content/common/android/sync_compositor_messages.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
9 SyncCompositorCommonBrowserParams::SyncCompositorCommonBrowserParams() | |
10 : begin_frame_source_paused(false) {} | |
11 | |
12 SyncCompositorCommonBrowserParams::~SyncCompositorCommonBrowserParams() {} | |
13 | |
14 SyncCompositorDemandDrawHwParams::SyncCompositorDemandDrawHwParams() {} | 9 SyncCompositorDemandDrawHwParams::SyncCompositorDemandDrawHwParams() {} |
15 | 10 |
16 SyncCompositorDemandDrawHwParams::SyncCompositorDemandDrawHwParams( | 11 SyncCompositorDemandDrawHwParams::SyncCompositorDemandDrawHwParams( |
17 const gfx::Size& surface_size, | 12 const gfx::Size& surface_size, |
18 const gfx::Transform& transform, | 13 const gfx::Transform& transform, |
19 const gfx::Rect& viewport, | 14 const gfx::Rect& viewport, |
20 const gfx::Rect& clip, | 15 const gfx::Rect& clip, |
21 const gfx::Rect& viewport_rect_for_tile_priority, | 16 const gfx::Rect& viewport_rect_for_tile_priority, |
22 const gfx::Transform& transform_for_tile_priority) | 17 const gfx::Transform& transform_for_tile_priority) |
23 : surface_size(surface_size), | 18 : surface_size(surface_size), |
(...skipping 12 matching lines...) Expand all Loading... |
36 | 31 |
37 SyncCompositorDemandDrawSwParams::~SyncCompositorDemandDrawSwParams() {} | 32 SyncCompositorDemandDrawSwParams::~SyncCompositorDemandDrawSwParams() {} |
38 | 33 |
39 SyncCompositorCommonRendererParams::SyncCompositorCommonRendererParams() | 34 SyncCompositorCommonRendererParams::SyncCompositorCommonRendererParams() |
40 : version(0u), | 35 : version(0u), |
41 page_scale_factor(0.f), | 36 page_scale_factor(0.f), |
42 min_page_scale_factor(0.f), | 37 min_page_scale_factor(0.f), |
43 max_page_scale_factor(0.f), | 38 max_page_scale_factor(0.f), |
44 need_animate_scroll(false), | 39 need_animate_scroll(false), |
45 need_invalidate_count(0u), | 40 need_invalidate_count(0u), |
46 need_begin_frame(false), | |
47 did_activate_pending_tree_count(0u) {} | 41 did_activate_pending_tree_count(0u) {} |
48 | 42 |
49 SyncCompositorCommonRendererParams::~SyncCompositorCommonRendererParams() {} | 43 SyncCompositorCommonRendererParams::~SyncCompositorCommonRendererParams() {} |
50 | 44 |
51 } // namespace content | 45 } // namespace content |
OLD | NEW |