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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #pragma warning(disable: 4250) 53 #pragma warning(disable: 4250)
54 #endif 54 #endif
55 55
56 class AudioMessageFilter; 56 class AudioMessageFilter;
57 class DeviceOrientationDispatcher; 57 class DeviceOrientationDispatcher;
58 class DevToolsAgent; 58 class DevToolsAgent;
59 class ExternalPopupMenu; 59 class ExternalPopupMenu;
60 class GeolocationDispatcher; 60 class GeolocationDispatcher;
61 class GURL; 61 class GURL;
62 class IntentsDispatcher; 62 class IntentsDispatcher;
63 class JavaBridgeDispatcher;
63 class LoadProgressTracker; 64 class LoadProgressTracker;
64 class MediaStreamImpl; 65 class MediaStreamImpl;
65 class NotificationProvider; 66 class NotificationProvider;
66 class PepperDeviceTest; 67 class PepperDeviceTest;
67 class PrintWebViewHelper; 68 class PrintWebViewHelper;
68 class RenderWidgetFullscreenPepper; 69 class RenderWidgetFullscreenPepper;
69 class RendererAccessibility; 70 class RendererAccessibility;
70 class SkBitmap; 71 class SkBitmap;
71 class SpeechInputDispatcher; 72 class SpeechInputDispatcher;
72 class WebPluginDelegateProxy; 73 class WebPluginDelegateProxy;
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy); 852 void OnUpdateRemoteAccessClientFirewallTraversal(const std::string& policy);
852 853
853 #if defined(OS_MACOSX) 854 #if defined(OS_MACOSX)
854 void OnWindowFrameChanged(const gfx::Rect& window_frame, 855 void OnWindowFrameChanged(const gfx::Rect& window_frame,
855 const gfx::Rect& view_frame); 856 const gfx::Rect& view_frame);
856 void OnSelectPopupMenuItem(int selected_index); 857 void OnSelectPopupMenuItem(int selected_index);
857 #endif 858 #endif
858 void OnZoom(PageZoom::Function function); 859 void OnZoom(PageZoom::Function function);
859 void OnEnableViewSourceMode(); 860 void OnEnableViewSourceMode();
860 861
862 void OnJavaBridgeInit(const IPC::ChannelHandle& channel_handle);
863
861 // Adding a new message handler? Please add it in alphabetical order above 864 // Adding a new message handler? Please add it in alphabetical order above
862 // and put it in the same position in the .cc file. 865 // and put it in the same position in the .cc file.
863 866
864 // Misc private functions ---------------------------------------------------- 867 // Misc private functions ----------------------------------------------------
865 868
866 void AltErrorPageFinished(WebKit::WebFrame* frame, 869 void AltErrorPageFinished(WebKit::WebFrame* frame,
867 const WebKit::WebURLError& original_error, 870 const WebKit::WebURLError& original_error,
868 const std::string& html); 871 const std::string& html);
869 872
870 // Check whether the preferred size has changed. 873 // Check whether the preferred size has changed.
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
1143 // MediaStreamImpl attached to this view; lazily initialized. 1146 // MediaStreamImpl attached to this view; lazily initialized.
1144 scoped_refptr<MediaStreamImpl> media_stream_impl_; 1147 scoped_refptr<MediaStreamImpl> media_stream_impl_;
1145 1148
1146 // Dispatches all P2P socket used by the renderer. 1149 // Dispatches all P2P socket used by the renderer.
1147 content::P2PSocketDispatcher* p2p_socket_dispatcher_; 1150 content::P2PSocketDispatcher* p2p_socket_dispatcher_;
1148 1151
1149 DevToolsAgent* devtools_agent_; 1152 DevToolsAgent* devtools_agent_;
1150 1153
1151 RendererAccessibility* renderer_accessibility_; 1154 RendererAccessibility* renderer_accessibility_;
1152 1155
1156 // Java Bridge dispatcher attached to this view; lazily initialized.
1157 scoped_ptr<JavaBridgeDispatcher> java_bridge_dispatcher_;
1158
1153 // Misc ---------------------------------------------------------------------- 1159 // Misc ----------------------------------------------------------------------
1154 1160
1155 // The current and pending file chooser completion objects. If the queue is 1161 // The current and pending file chooser completion objects. If the queue is
1156 // nonempty, the first item represents the currently running file chooser 1162 // nonempty, the first item represents the currently running file chooser
1157 // callback, and the remaining elements are the other file chooser completion 1163 // callback, and the remaining elements are the other file chooser completion
1158 // still waiting to be run (in order). 1164 // still waiting to be run (in order).
1159 struct PendingFileChooser; 1165 struct PendingFileChooser;
1160 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_; 1166 std::deque< linked_ptr<PendingFileChooser> > file_chooser_completions_;
1161 1167
1162 // The current directory enumeration callback 1168 // The current directory enumeration callback
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 // bunch of stuff, you should probably create a helper class and put your 1220 // bunch of stuff, you should probably create a helper class and put your
1215 // data and methods on that to avoid bloating RenderView more. You can 1221 // data and methods on that to avoid bloating RenderView more. You can
1216 // use the Observer interface to filter IPC messages and receive frame change 1222 // use the Observer interface to filter IPC messages and receive frame change
1217 // notifications. 1223 // notifications.
1218 // --------------------------------------------------------------------------- 1224 // ---------------------------------------------------------------------------
1219 1225
1220 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1226 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1221 }; 1227 };
1222 1228
1223 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1229 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698