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

Side by Side Diff: cc/ipc/surface_id.mojom

Issue 2661543002: Rename LocalFrameId to LocalSurfaceId (Closed)
Patch Set: c Created 3 years, 10 months 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 unified diff | Download patch
« no previous file with comments | « cc/ipc/struct_traits_unittest.cc ('k') | cc/ipc/surface_id_struct_traits.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 module cc.mojom; 5 module cc.mojom;
6 6
7 import "cc/ipc/frame_sink_id.mojom"; 7 import "cc/ipc/frame_sink_id.mojom";
8 import "cc/ipc/local_frame_id.mojom"; 8 import "cc/ipc/local_surface_id.mojom";
9 9
10 // A surface ID is composed of two parts: a FrameSinkID, and a LocalFrameId. 10 // A surface ID is composed of two parts: a FrameSinkID, and a LocalSurfaceId.
11 // The FrameSinkId uniquely identifies the FrameSink associated with the 11 // The FrameSinkId uniquely identifies the FrameSink associated with the
12 // surface. This corresponds to a SurfaceFactory in the display compositor 12 // surface. This corresponds to a SurfaceFactory in the display compositor
13 // service. The FrameSinkId is partially allocated by the display compositor 13 // service. The FrameSinkId is partially allocated by the display compositor
14 // and partially allocated by the frame source. 14 // and partially allocated by the frame source.
15 // The LocalFrameId are allocated by the client using any scheme 15 // The LocalSurfaceId are allocated by the client using any scheme
16 // that avoids duplicates and makes IDs unguessable respectively. 16 // that avoids duplicates and makes IDs unguessable respectively.
17 struct SurfaceId { 17 struct SurfaceId {
18 FrameSinkId frame_sink_id; 18 FrameSinkId frame_sink_id;
19 LocalFrameId local_frame_id; 19 LocalSurfaceId local_surface_id;
20 }; 20 };
OLDNEW
« no previous file with comments | « cc/ipc/struct_traits_unittest.cc ('k') | cc/ipc/surface_id_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698