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

Side by Side Diff: cc/ipc/compositor_frame_metadata.mojom

Issue 2810813004: Hide fullscreen rotation jank (Closed)
Patch Set: Evict frame instead of showing a black frame Created 3 years, 6 months 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
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 module cc.mojom; 5 module cc.mojom;
6 6
7 import "cc/ipc/begin_frame_args.mojom"; 7 import "cc/ipc/begin_frame_args.mojom";
8 import "cc/ipc/selection.mojom"; 8 import "cc/ipc/selection.mojom";
9 import "cc/ipc/surface_id.mojom"; 9 import "cc/ipc/surface_id.mojom";
10 import "ui/latency/mojo/latency_info.mojom"; 10 import "ui/latency/mojo/latency_info.mojom";
11 import "ui/gfx/geometry/mojo/geometry.mojom"; 11 import "ui/gfx/geometry/mojo/geometry.mojom";
12 12
13 // See cc/output/compositor_frame_metadata.h. 13 // See cc/output/compositor_frame_metadata.h.
14 struct CompositorFrameMetadata { 14 struct CompositorFrameMetadata {
15 float device_scale_factor; 15 float device_scale_factor;
16 gfx.mojom.Vector2dF root_scroll_offset; 16 gfx.mojom.Vector2dF root_scroll_offset;
17 float page_scale_factor; 17 float page_scale_factor;
18 gfx.mojom.SizeF scrollable_viewport_size; 18 gfx.mojom.SizeF scrollable_viewport_size;
19 gfx.mojom.SizeF root_layer_size; 19 gfx.mojom.SizeF root_layer_size;
20 float min_page_scale_factor; 20 float min_page_scale_factor;
21 float max_page_scale_factor; 21 float max_page_scale_factor;
22 bool root_overflow_x_hidden; 22 bool root_overflow_x_hidden;
23 bool root_overflow_y_hidden; 23 bool root_overflow_y_hidden;
24 bool may_contain_video; 24 bool may_contain_video;
25 bool is_fullscreen;
26 gfx.mojom.Size device_viewport_size;
25 bool is_resourceless_software_draw_with_scroll_or_animation; 27 bool is_resourceless_software_draw_with_scroll_or_animation;
26 float top_controls_height; 28 float top_controls_height;
27 float top_controls_shown_ratio; 29 float top_controls_shown_ratio;
28 float bottom_controls_height; 30 float bottom_controls_height;
29 float bottom_controls_shown_ratio; 31 float bottom_controls_shown_ratio;
30 uint32 root_background_color; 32 uint32 root_background_color;
31 Selection selection; 33 Selection selection;
32 array<ui.mojom.LatencyInfo> latency_info; 34 array<ui.mojom.LatencyInfo> latency_info;
33 array<SurfaceId> referenced_surfaces; 35 array<SurfaceId> referenced_surfaces;
34 array<SurfaceId> activation_dependencies; 36 array<SurfaceId> activation_dependencies;
35 bool can_activate_before_dependencies; 37 bool can_activate_before_dependencies;
36 uint32 content_source_id; 38 uint32 content_source_id;
37 BeginFrameAck begin_frame_ack; 39 BeginFrameAck begin_frame_ack;
38 uint32 frame_token; 40 uint32 frame_token;
39 }; 41 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698