| // Copyright 2015 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| syntax = "proto2"; |
| |
| import "display_item.proto"; |
| import "rect.proto"; |
| import "size.proto"; |
| |
| option optimize_for = LITE_RUNTIME; |
| |
| package cc.proto; |
| |
| // A serialized representation of the RecordingSource class. |
| message RecordingSource { |
| optional Rect recorded_viewport = 1; |
| optional Size size = 2; |
| optional int64 slow_down_raster_scale_factor_for_debug = 3; |
| optional bool generate_discardable_images_metadata = 4; |
| optional bool requires_clear = 5; |
| optional bool is_solid_color = 6; |
| optional bool clear_canvas_with_debug_color = 7; |
| optional uint64 solid_color = 8; |
| optional uint64 background_color = 9; |
| optional DisplayItemList display_list = 10; |
| } |