| 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 "pointf.proto"; | 7 import "memory_allocation.proto"; |
| 8 import "sizef.proto"; | 8 |
| 9 package cc.proto; |
| 9 | 10 |
| 10 option optimize_for = LITE_RUNTIME; | 11 option optimize_for = LITE_RUNTIME; |
| 11 | 12 |
| 12 package cc.proto; | 13 message ManagedMemoryPolicy { |
| 13 | 14 optional uint32 bytes_limit_when_visible = 1; |
| 14 message RectF { | 15 optional MemoryAllocation.PriorityCutoff priority_cutoff_when_visible = 2; |
| 15 optional cc.proto.PointF origin = 1; | 16 optional uint32 num_resources_limit = 3; |
| 16 optional cc.proto.SizeF size = 2; | |
| 17 } | 17 } |
| OLD | NEW |