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

Side by Side Diff: ui/gfx/mojo/buffer_types.typemap

Issue 2295923002: gfx: Struct traits for GpuMemoryBufferId and GpuMemoryBufferType. (Closed)
Patch Set: . Created 4 years, 3 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
OLDNEW
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 mojom = "//ui/gfx/mojo/buffer_types.mojom" 5 mojom = "//ui/gfx/mojo/buffer_types.mojom"
6 public_headers = [ "//ui/gfx/buffer_types.h" ] 6 public_headers = [
7 "//ui/gfx/buffer_types.h",
8 "//ui/gfx/gpu_memory_buffer.h",
9 ]
7 traits_headers = [ "//ui/gfx/mojo/buffer_types_enum_traits.h" ] 10 traits_headers = [ "//ui/gfx/mojo/buffer_types_enum_traits.h" ]
8 public_deps = [ 11 public_deps = [
9 "//ui/gfx", 12 "//ui/gfx",
10 ] 13 ]
11 type_mappings = [ 14 type_mappings = [
12 "gfx.mojom.BufferFormat=gfx::BufferFormat", 15 "gfx.mojom.BufferFormat=gfx::BufferFormat",
13 "gfx.mojom.BufferUsage=gfx::BufferUsage", 16 "gfx.mojom.BufferUsage=gfx::BufferUsage",
17 "gfx.mojom.GpuMemoryBufferId=gfx::GpuMemoryBufferId",
Fady Samuel 2016/08/30 18:27:07 use copyable_pass_by_value to avoid extra const re
sadrul 2016/08/30 18:35:23 Done.
18 "gfx.mojom.GpuMemoryBufferType=gfx::GpuMemoryBufferType",
14 ] 19 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698