| OLD | NEW |
| 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"; | |
| 8 import "rect.proto"; | |
| 9 import "size.proto"; | 7 import "size.proto"; |
| 10 | 8 |
| 11 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
| 12 | 10 |
| 13 package cc.proto; | 11 package cc.proto; |
| 14 | 12 |
| 15 // A serialized representation of the RecordingSource class. | 13 // A serialized representation of the RecordingSource class. |
| 16 message RecordingSource { | 14 message RecordingSource { |
| 17 optional Rect recorded_viewport = 1; | 15 optional Size size = 1; |
| 18 optional Size size = 2; | 16 optional int64 slow_down_raster_scale_factor_for_debug = 2; |
| 19 optional int64 slow_down_raster_scale_factor_for_debug = 3; | 17 optional bool generate_discardable_images_metadata = 3; |
| 20 optional bool generate_discardable_images_metadata = 4; | 18 optional bool requires_clear = 4; |
| 21 optional bool requires_clear = 5; | 19 optional bool is_solid_color = 5; |
| 22 optional bool is_solid_color = 6; | 20 optional bool clear_canvas_with_debug_color = 6; |
| 23 optional bool clear_canvas_with_debug_color = 7; | 21 optional uint64 solid_color = 7; |
| 24 optional uint64 solid_color = 8; | 22 optional uint64 background_color = 8; |
| 25 optional uint64 background_color = 9; | |
| 26 optional DisplayItemList display_list = 10; | |
| 27 } | 23 } |
| OLD | NEW |