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

Unified Diff: cc/proto/display_list_recording_source.proto

Issue 1512823002: Serialize DisplayListRecordingSource to protos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/proto/BUILD.gn ('k') | cc/test/fake_content_layer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proto/display_list_recording_source.proto
diff --git a/cc/proto/display_list_recording_source.proto b/cc/proto/display_list_recording_source.proto
new file mode 100644
index 0000000000000000000000000000000000000000..18413a0505279f3f20177e1e40870082c94292c8
--- /dev/null
+++ b/cc/proto/display_list_recording_source.proto
@@ -0,0 +1,27 @@
+// 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 DisplayListRecordingSource class.
+message DisplayListRecordingSource {
+ 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;
+}
« no previous file with comments | « cc/proto/BUILD.gn ('k') | cc/test/fake_content_layer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698