|
[mojo] Get rid of Skia type converters
In order to ease the transition to Mojo IPC, we should reuse existing
ParamTraits whenever possible. We should also generally avoid doing
the extra TypeConverter copies that are common between mojom types
and native types.
This CL redefines the mojom skia::Bitmap as a native-only type
aliased to SkBitmap so that Mojo messages can carry pickled
SkBitmaps in their existing wire format.
The ImageDownloader service (the only one currently using skia::Bitmap)
is updated as well.
BUG=None
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+204 lines, -300 lines) |
Patch |
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/common/BUILD.gn
|
View
|
1
2
3
4
5
6
|
3 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/content.gyp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/content_common_mojo_bindings.gyp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+34 lines, -33 lines |
0 comments
|
Download
|
 |
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/image_downloader/image_downloader_impl.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/image_downloader/image_downloader_impl.cc
|
View
|
1
2
3
|
4 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
mojo/public/tools/bindings/mojom.gni
|
View
|
1
2
3
4
5
6
|
8 chunks |
+39 lines, -13 lines |
1 comment
|
Download
|
 |
A |
mojo/public/tools/bindings/mojom_get_generator_typemap_args.py
|
View
|
1
2
3
4
5
6
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
skia/public/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
skia/public/interfaces/BUILD.gn
|
View
|
1
2
3
4
5
6
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
skia/public/interfaces/bitmap.mojom
|
View
|
|
1 chunk |
+2 lines, -36 lines |
1 comment
|
Download
|
 |
A |
skia/public/interfaces/skia.typemap
|
View
|
2
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
D |
skia/public/type_converters.h
|
View
|
|
1 chunk |
+0 lines, -26 lines |
0 comments
|
Download
|
 |
D |
skia/public/type_converters.cc
|
View
|
|
1 chunk |
+0 lines, -141 lines |
0 comments
|
Download
|
 |
M |
skia/skia.gyp
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+5 lines, -28 lines |
0 comments
|
Download
|
 |
A |
skia/skia_mojo_bindings.gyp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/mojo/mojom_bindings_generator.gypi
|
View
|
1
2
3
4
5
6
|
4 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/ipc/gfx_param_traits.h
|
View
|
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/ipc/gfx_param_traits.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+6 lines, -2 lines |
3 comments
|
Download
|
Dependent Patchsets:
Total messages: 34 (9 generated)
|