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

Unified Diff: content/renderer/render_view_impl.h

Issue 8347005: Adds the renderer component of the Java Bridge (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moves JavaBridgeDispatcher(Host) to content/ Created 9 years, 2 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
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 2ae0e9d8c4e99de20cae2fdd51c7f30f1275a50d..3f09f88c48fd3b069a04573fa37bed837706794f 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -60,6 +60,7 @@ class ExternalPopupMenu;
class GeolocationDispatcher;
class GURL;
class IntentsDispatcher;
+class JavaBridgeDispatcher;
class LoadProgressTracker;
class MediaStreamImpl;
class NotificationProvider;
@@ -858,6 +859,8 @@ class RenderViewImpl : public RenderWidget,
void OnZoom(PageZoom::Function function);
void OnEnableViewSourceMode();
+ void OnJavaBridgeInit(const IPC::ChannelHandle& channel_handle);
+
// Adding a new message handler? Please add it in alphabetical order above
// and put it in the same position in the .cc file.
@@ -1150,6 +1153,9 @@ class RenderViewImpl : public RenderWidget,
RendererAccessibility* renderer_accessibility_;
+ // Java Bridge dispatcher attached to this view; lazily initialized.
+ scoped_ptr<JavaBridgeDispatcher> java_bridge_dispatcher_;
+
// Misc ----------------------------------------------------------------------
// The current and pending file chooser completion objects. If the queue is

Powered by Google App Engine
This is Rietveld 408576698