Index: trunk/src/content/renderer/web_ui_mojo.h |
=================================================================== |
--- trunk/src/content/renderer/web_ui_mojo.h (revision 258768) |
+++ trunk/src/content/renderer/web_ui_mojo.h (working copy) |
@@ -10,7 +10,7 @@ |
#include "content/public/renderer/render_frame_observer.h" |
#include "content/public/renderer/render_view_observer.h" |
#include "content/public/renderer/render_view_observer_tracker.h" |
-#include "mojo/public/system/core_cpp.h" |
+#include "mojo/public/system/core.h" |
namespace gin { |
class PerContextData; |
@@ -30,9 +30,6 @@ |
public: |
explicit WebUIMojo(RenderView* render_view); |
- // Sets the handle to the current WebUI. |
- void SetBrowserHandle(mojo::ScopedMessagePipeHandle handle); |
- |
private: |
class MainFrameObserver : public RenderFrameObserver { |
public: |
@@ -51,6 +48,10 @@ |
virtual ~WebUIMojo(); |
+ // Invoked from ViewMsg_SetBrowserHandle. Passes handle to current |
+ // MojoWebUIContextState. |
+ void OnSetBrowserHandle(MojoHandle handle); |
+ |
void CreateContextState(); |
void DestroyContextState(v8::Handle<v8::Context> context); |