| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/common/android/sync_compositor_messages.h" |
| 6 |
| 7 namespace content { |
| 8 |
| 9 SyncCompositorCommonBrowserParams::SyncCompositorCommonBrowserParams() |
| 10 : bytes_limit(0u) {} |
| 11 |
| 12 SyncCompositorCommonBrowserParams::~SyncCompositorCommonBrowserParams() {} |
| 13 |
| 14 SyncCompositorDemandDrawHwParams::SyncCompositorDemandDrawHwParams() {} |
| 15 |
| 16 SyncCompositorDemandDrawHwParams::SyncCompositorDemandDrawHwParams( |
| 17 const gfx::Size& surface_size, |
| 18 const gfx::Transform& transform, |
| 19 const gfx::Rect& viewport, |
| 20 const gfx::Rect& clip, |
| 21 const gfx::Rect& viewport_rect_for_tile_priority, |
| 22 const gfx::Transform& transform_for_tile_priority) |
| 23 : surface_size(surface_size), |
| 24 transform(transform), |
| 25 viewport(viewport), |
| 26 clip(clip), |
| 27 viewport_rect_for_tile_priority(viewport_rect_for_tile_priority), |
| 28 transform_for_tile_priority(transform_for_tile_priority) {} |
| 29 |
| 30 SyncCompositorDemandDrawHwParams::~SyncCompositorDemandDrawHwParams() {} |
| 31 |
| 32 SyncCompositorCommonRendererParams::SyncCompositorCommonRendererParams() |
| 33 : version(0u), |
| 34 page_scale_factor(0.f), |
| 35 min_page_scale_factor(0.f), |
| 36 max_page_scale_factor(0.f), |
| 37 need_animate_scroll(false), |
| 38 need_invalidate(false), |
| 39 need_begin_frame(false), |
| 40 did_activate_pending_tree(false) {} |
| 41 |
| 42 SyncCompositorCommonRendererParams::~SyncCompositorCommonRendererParams() {} |
| 43 |
| 44 } // namespace content |
| OLD | NEW |