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

Unified Diff: skia/public/interfaces/skbitmap.typemap

Issue 2014013002: Add SkBitmap StructTraits for skia::mojo::Bitmap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add mojo/public/cpp/bindings typemap deps. Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: skia/public/interfaces/skbitmap.typemap
diff --git a/skia/public/interfaces/skbitmap.typemap b/skia/public/interfaces/skbitmap.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..7fc33002b5a0e2e402bb782513400a0223f9f18a
--- /dev/null
+++ b/skia/public/interfaces/skbitmap.typemap
@@ -0,0 +1,10 @@
+# Copyright 2016 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.
+
+mojom = "//skia/public/interfaces/bitmap.mojom"
+public_headers = [ "//third_party/skia/include/core/SkBitmap.h" ]
+traits_headers = [ "//skia/public/interfaces/bitmap_skbitmap_struct_traits.h" ]
+deps = [ "//mojo/public/cpp/bindings" ]
yzshen1 2016/05/26 22:44:13 I think this is not necessary. Right?
msw 2016/05/27 19:34:11 This fixes the analyze step failure from the prior
yzshen1 2016/05/31 23:17:36 Ah, I see. Thanks!
+public_deps = [ "//skia" ]
+type_mappings = [ "skia.mojom.Bitmap=SkBitmap" ]

Powered by Google App Engine
This is Rietveld 408576698