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

Unified Diff: trunk/src/content/renderer/web_ui_mojo.h

Issue 208263008: Revert 258763 "Adds plumbing to pass WebUI mojo::Handle from bro..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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 | « trunk/src/content/renderer/render_view_impl.cc ('k') | trunk/src/content/renderer/web_ui_mojo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « trunk/src/content/renderer/render_view_impl.cc ('k') | trunk/src/content/renderer/web_ui_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698