|
Reland: Expose distiller functions to JavaScript
This change adds two mojo services; one for notifying a RenderFrame
that it is working on a distiller page and one for allowing distiller
JavaScript functions to access the browser. This CL only exposes a
single function "distiller.echo".
This reverts commit 5b77e8f46f38eb1592b17ec2e2fe97a148d96a65 and
should fix the GN build that broke.
Initial review: https://codereview.chromium.org/1231083007/
TBR=jochen
Committed: https://crrev.com/28f3694cf6796d840cb4296441d26f63c2ce50c2
Cr-Commit-Position: refs/heads/master@{#350418}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+667 lines, -11 lines) |
Patch |
 |
M |
chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc
|
View
|
|
3 chunks |
+66 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome_renderer.gypi
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/BUILD.gn
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/DEPS
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/chrome_content_renderer_client.cc
|
View
|
1
2
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/BUILD.gn
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/components_tests.gyp
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/dom_distiller.gypi
|
View
|
|
4 chunks |
+44 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/dom_distiller/content/BUILD.gn
|
View
|
1
|
3 chunks |
+41 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
components/dom_distiller/content/browser/DEPS
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
A |
components/dom_distiller/content/browser/distiller_javascript_service_impl.h
|
View
|
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/dom_distiller/content/browser/distiller_javascript_service_impl.cc
|
View
|
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/dom_distiller/content/browser/dom_distiller_viewer_source.cc
|
View
|
|
5 chunks |
+20 lines, -4 lines |
0 comments
|
Download
|
 |
A |
components/dom_distiller/content/common/distiller_javascript_service.mojom
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/dom_distiller/content/common/distiller_page_notifier_service.mojom
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
components/dom_distiller/content/renderer/DEPS
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
A |
components/dom_distiller/content/renderer/distiller_js_render_frame_observer.h
|
View
|
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/dom_distiller/content/renderer/distiller_js_render_frame_observer.cc
|
View
|
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/dom_distiller/content/renderer/distiller_native_javascript.h
|
View
|
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/dom_distiller/content/renderer/distiller_native_javascript.cc
|
View
|
|
1 chunk |
+78 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/dom_distiller/content/renderer/distiller_page_notifier_service_impl.h
|
View
|
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/dom_distiller/content/renderer/distiller_page_notifier_service_impl.cc
|
View
|
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/test/browser_test_utils.h
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/test/browser_test_utils.cc
|
View
|
|
2 chunks |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/dom_automation_controller.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/dom_automation_controller.cc
|
View
|
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 8 (3 generated)
|