Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: cc/ipc/compositor_frame_metadata_struct_traits.cc

Issue 2585543003: Revert of Getting rid of CompositorFrameMetadata::satisfies_sequences (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/ipc/compositor_frame_metadata_struct_traits.h ('k') | cc/ipc/struct_traits_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 22 matching lines...) Expand all
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 39
40 out->root_background_color = data.root_background_color(); 40 out->root_background_color = data.root_background_color();
41 return data.ReadSelection(&out->selection) && 41 return data.ReadSelection(&out->selection) &&
42 data.ReadLatencyInfo(&out->latency_info) && 42 data.ReadLatencyInfo(&out->latency_info) &&
43 data.ReadSatisfiesSequences(&out->satisfies_sequences) &&
43 data.ReadReferencedSurfaces(&out->referenced_surfaces); 44 data.ReadReferencedSurfaces(&out->referenced_surfaces);
44 } 45 }
45 46
46 } // namespace mojo 47 } // namespace mojo
OLDNEW
« no previous file with comments | « cc/ipc/compositor_frame_metadata_struct_traits.h ('k') | cc/ipc/struct_traits_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698