|
[Android] Java Bridge with Gin: implement Java Bridge dispatcher
This patch adds implementation for GinJavaBridgeDispatcherHost class, which
is responsible for serving JB requests from renderers, and fulfilling
them with help of GinJavaBoundObject instances.
This patch also enables passing a error message for method invocation
errors back to renderers, so they can use it when raising JavaScript
exceptions.
BUG= 355644
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280298
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+780 lines, -40 lines) |
Patch |
|
A |
content/browser/renderer_host/java/gin_java_bridge_dispatcher_host.h
|
View
|
|
1 chunk |
+123 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/renderer_host/java/gin_java_bridge_dispatcher_host.cc
|
View
|
1
2
|
1 chunk |
+497 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/java/gin_java_method_invocation_helper.h
|
View
|
1
2
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/java/gin_java_method_invocation_helper.cc
|
View
|
1
2
|
9 chunks |
+13 lines, -19 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/java/gin_java_method_invocation_helper_unittest.cc
|
View
|
1
2
|
4 chunks |
+62 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/java/java_method.h
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
A |
content/common/android/gin_java_bridge_errors.h
|
View
|
1
2
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/common/android/gin_java_bridge_errors.cc
|
View
|
1
2
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/gin_java_bridge_messages.h
|
View
|
1
2
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/content_browser.gypi
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/content_common.gypi
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/java/gin_java_bridge_dispatcher.h
|
View
|
1
2
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/java/gin_java_bridge_dispatcher.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/java/gin_java_bridge_object.cc
|
View
|
1
2
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
Total messages: 16 (0 generated)
|