OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "cc/ipc/compositor_frame_metadata_struct_traits.h" | 5 #include "cc/ipc/compositor_frame_metadata_struct_traits.h" |
6 #include "cc/ipc/selection_struct_traits.h" | 6 #include "cc/ipc/selection_struct_traits.h" |
7 #include "cc/ipc/surface_id_struct_traits.h" | 7 #include "cc/ipc/surface_id_struct_traits.h" |
8 #include "ui/events/mojo/latency_info_struct_traits.h" | 8 #include "ui/events/mojo/latency_info_struct_traits.h" |
9 #include "ui/gfx/mojo/selection_bound_struct_traits.h" | 9 #include "ui/gfx/mojo/selection_bound_struct_traits.h" |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 out->max_page_scale_factor = data.max_page_scale_factor(); | 29 out->max_page_scale_factor = data.max_page_scale_factor(); |
30 out->root_overflow_x_hidden = data.root_overflow_x_hidden(); | 30 out->root_overflow_x_hidden = data.root_overflow_x_hidden(); |
31 out->root_overflow_y_hidden = data.root_overflow_y_hidden(); | 31 out->root_overflow_y_hidden = data.root_overflow_y_hidden(); |
32 out->may_contain_video = data.may_contain_video(); | 32 out->may_contain_video = data.may_contain_video(); |
33 out->is_resourceless_software_draw_with_scroll_or_animation = | 33 out->is_resourceless_software_draw_with_scroll_or_animation = |
34 data.is_resourceless_software_draw_with_scroll_or_animation(); | 34 data.is_resourceless_software_draw_with_scroll_or_animation(); |
35 out->top_controls_height = data.top_controls_height(); | 35 out->top_controls_height = data.top_controls_height(); |
36 out->top_controls_shown_ratio = data.top_controls_shown_ratio(); | 36 out->top_controls_shown_ratio = data.top_controls_shown_ratio(); |
37 out->bottom_controls_height = data.bottom_controls_height(); | 37 out->bottom_controls_height = data.bottom_controls_height(); |
38 out->bottom_controls_shown_ratio = data.bottom_controls_shown_ratio(); | 38 out->bottom_controls_shown_ratio = data.bottom_controls_shown_ratio(); |
| 39 out->content_source_id = data.content_source_id(); |
39 | 40 |
40 out->root_background_color = data.root_background_color(); | 41 out->root_background_color = data.root_background_color(); |
41 out->can_activate_before_dependencies = | 42 out->can_activate_before_dependencies = |
42 data.can_activate_before_dependencies(); | 43 data.can_activate_before_dependencies(); |
43 return data.ReadSelection(&out->selection) && | 44 return data.ReadSelection(&out->selection) && |
44 data.ReadLatencyInfo(&out->latency_info) && | 45 data.ReadLatencyInfo(&out->latency_info) && |
45 data.ReadReferencedSurfaces(&out->referenced_surfaces); | 46 data.ReadReferencedSurfaces(&out->referenced_surfaces); |
46 } | 47 } |
47 | 48 |
48 } // namespace mojo | 49 } // namespace mojo |
OLD | NEW |