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

Side by Side Diff: cc/proto/layer_tree_host.proto

Issue 2159513003: Setup LayerTree class, refactor 2 functions from LayerTreeHost to it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Layer GetLayerTree now directly uses LayerTree pointer. Created 4 years, 4 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 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 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 import "display_item.proto"; 7 import "display_item.proto";
8 import "layer.proto"; 8 import "layer.proto";
9 import "layer_selection_bound.proto"; 9 import "layer_selection_bound.proto";
10 import "layer_tree.proto";
10 import "layer_tree_debug_state.proto"; 11 import "layer_tree_debug_state.proto";
11 import "property_tree.proto"; 12 import "property_tree.proto";
12 import "size.proto"; 13 import "size.proto";
13 import "vector2df.proto"; 14 import "vector2df.proto";
14 15
15 package cc.proto; 16 package cc.proto;
16 17
17 option optimize_for = LITE_RUNTIME; 18 option optimize_for = LITE_RUNTIME;
18 19
19 message SkPictureData { 20 message SkPictureData {
(...skipping 24 matching lines...) Expand all
44 optional float device_scale_factor = 13; 45 optional float device_scale_factor = 13;
45 optional float painted_device_scale_factor = 14; 46 optional float painted_device_scale_factor = 14;
46 optional float page_scale_factor = 15; 47 optional float page_scale_factor = 15;
47 optional float min_page_scale_factor = 16; 48 optional float min_page_scale_factor = 16;
48 optional float max_page_scale_factor = 17; 49 optional float max_page_scale_factor = 17;
49 optional Vector2dF elastic_overscroll = 18; 50 optional Vector2dF elastic_overscroll = 18;
50 optional bool has_gpu_rasterization_trigger = 19; 51 optional bool has_gpu_rasterization_trigger = 19;
51 optional bool content_is_suitable_for_gpu_rasterization = 20; 52 optional bool content_is_suitable_for_gpu_rasterization = 20;
52 optional uint32 background_color = 21; /* SkColor */ 53 optional uint32 background_color = 21; /* SkColor */
53 optional bool has_transparent_background = 22; 54 optional bool has_transparent_background = 22;
54 optional bool in_paint_layer_contents = 23; 55 optional int32 id = 23;
55 optional int32 id = 24; 56 optional bool next_commit_forces_redraw = 24;
56 optional bool next_commit_forces_redraw = 25; 57 optional int32 overscroll_elasticity_layer_id = 25;
57 optional int32 overscroll_elasticity_layer_id = 26; 58 optional int32 page_scale_layer_id = 26;
58 optional int32 page_scale_layer_id = 27; 59 optional int32 inner_viewport_scroll_layer_id = 27;
59 optional int32 inner_viewport_scroll_layer_id = 28; 60 optional int32 outer_viewport_scroll_layer_id = 28;
60 optional int32 outer_viewport_scroll_layer_id = 29; 61 optional LayerSelection selection = 29;
61 optional LayerSelection selection = 30; 62 optional PropertyTrees property_trees = 30;
62 optional PropertyTrees property_trees = 31; 63 optional uint32 surface_client_id = 31;
63 optional uint32 surface_client_id = 32; 64 optional uint32 next_surface_sequence = 32;
64 optional uint32 next_surface_sequence = 33; 65 optional uint32 wheel_event_listener_properties = 33;
65 optional uint32 wheel_event_listener_properties = 34; 66 optional bool have_scroll_event_handlers = 34;
66 optional bool have_scroll_event_handlers = 35; 67 optional uint32 touch_start_or_move_event_listener_properties = 35;
67 optional uint32 touch_start_or_move_event_listener_properties = 36; 68 optional LayerTree layer_tree = 36;
68 repeated int32 layers_that_should_push_properties = 37; 69 optional uint32 touch_end_or_cancel_event_listener_properties = 37;
69 optional uint32 touch_end_or_cancel_event_listener_properties = 38; 70 optional SkPictures pictures = 38;
70 optional SkPictures pictures = 39;
71 } 71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698