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

Unified Diff: content/renderer/mojo_bindings_controller.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/public/common/bindings_policy.h ('k') | content/renderer/mojo_bindings_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/mojo_bindings_controller.h
diff --git a/content/renderer/mojo_bindings_controller.h b/content/renderer/mojo_bindings_controller.h
index 3ebb744cb06f47704c56c16ecc99018c6209e3f0..9d4ac9b9630ade7f4a7ecbc6b1af97ee05d8568d 100644
--- a/content/renderer/mojo_bindings_controller.h
+++ b/content/renderer/mojo_bindings_controller.h
@@ -28,7 +28,7 @@ class MojoBindingsController
: public RenderFrameObserver,
public RenderFrameObserverTracker<MojoBindingsController> {
public:
- explicit MojoBindingsController(RenderFrame* render_frame);
+ MojoBindingsController(RenderFrame* render_frame, bool for_layout_tests);
private:
~MojoBindingsController() override;
@@ -44,6 +44,8 @@ class MojoBindingsController
void DidCreateDocumentElement() override;
void DidClearWindowObject() override;
+ const bool for_layout_tests_;
+
DISALLOW_COPY_AND_ASSIGN(MojoBindingsController);
};
« no previous file with comments | « content/public/common/bindings_policy.h ('k') | content/renderer/mojo_bindings_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698