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

Unified Diff: content/renderer/render_frame_impl.h

Issue 1470823002: Enable builtin Mojo JS modules in layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@usb-testing
Patch Set: oops, clumsy Created 4 years, 11 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
« no previous file with comments | « content/renderer/mojo_context_state.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index bc51882a23f8fe32b65f75ae574466662037f8d3..abfeefb294a4f25d4618c9395b4e0df43c1e73e9 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -654,8 +654,9 @@ class CONTENT_EXPORT RenderFrameImpl
void SendUpdateState();
// Creates a MojoBindingsController to allow WebUI documents to communicate
- // with the browser process.
- void EnableMojoBindings();
+ // with the browser process. If |for_layout_tests| is true, the module system
+ // is exposed on a global "mojo" object rather than "define".
+ void EnableMojoBindings(bool for_layout_tests);
protected:
explicit RenderFrameImpl(const CreateParams& params);
« no previous file with comments | « content/renderer/mojo_context_state.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698