OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
8 | 8 |
9 package cc.proto; | 9 package cc.proto; |
10 | 10 |
11 message CommitEarlyOutReason { | 11 message CommitEarlyOutReason { |
12 enum Reason { | 12 enum Reason { |
13 ABORTED_OUTPUT_SURFACE_LOST = 1; | 13 ABORTED_COMPOSITOR_FRAME_SINK_LOST = 1; |
14 ABORTED_NOT_VISIBLE = 2; | 14 ABORTED_NOT_VISIBLE = 2; |
15 ABORTED_DEFERRED_COMMIT = 3; | 15 ABORTED_DEFERRED_COMMIT = 3; |
16 FINISHED_NO_UPDATES = 4; | 16 FINISHED_NO_UPDATES = 4; |
17 } | 17 } |
18 | 18 |
19 optional Reason reason = 1; | 19 optional Reason reason = 1; |
20 } | 20 } |
OLD | NEW |