Make sure Widget mojo interface is constructed for RenderWidgetHosts.

We require that a Widget interface exists for a RenderWidgetHost. Ensure
that it is plumbed correctly so that in has a bound request interface
always.

BUG=722928

Cq-Include-Trybots: master.tryserver.chromium.linux:linux_site_isolation
Change-Id: Ibc786aca96b2ae332e4d7ff54ecd07f10ce143db
Reviewed-on: https://chromium-review.googlesource.com/598121
Commit-Queue: Dave Tapuska <[email protected]>
Reviewed-by: Daniel Cheng <[email protected]>
Reviewed-by: Antoine Labour <[email protected]>
Cr-Commit-Position: refs/heads/master@{#492475}
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 0dcf3ac..88ca1d1 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -36,6 +36,7 @@
 #include "content/common/host_zoom.mojom.h"
 #include "content/common/renderer.mojom.h"
 #include "content/common/unique_name_helper.h"
+#include "content/common/widget.mojom.h"
 #include "content/public/common/console_message_level.h"
 #include "content/public/common/javascript_dialog_type.h"
 #include "content/public/common/previews_state.h"
@@ -1177,6 +1178,7 @@
 
   void UpdatePeakMemoryStats();
   void ReportPeakMemoryStats();
+  void BindWidget(mojom::WidgetRequest request);
 
   // Stores the WebLocalFrame we are associated with.  This is null from the
   // constructor until BindToFrame() is called, and it is null after