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

Unified Diff: content/browser/renderer_host/render_view_host.cc

Issue 8002005: Removed sending of the following IPC messages from chrome and added API's on the RenderViewHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | « content/browser/renderer_host/render_view_host.h ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_view_host.cc
===================================================================
--- content/browser/renderer_host/render_view_host.cc (revision 102142)
+++ content/browser/renderer_host/render_view_host.cc (working copy)
@@ -1264,6 +1264,37 @@
Send(new ViewMsg_EnablePreferredSizeChangedMode(routing_id(), flags));
}
+void RenderViewHost::ExecuteCustomContextMenuCommand(
+ int action, const webkit_glue::CustomContextMenuContext& context) {
+ Send(new ViewMsg_CustomContextMenuAction(routing_id(), context, action));
+}
+
+void RenderViewHost::NotifyContextMenuClosed(
+ const webkit_glue::CustomContextMenuContext& context) {
+ Send(new ViewMsg_ContextMenuClosed(routing_id(), context));
+}
+
+void RenderViewHost::CopyImageAt(int x, int y) {
+ Send(new ViewMsg_CopyImageAt(routing_id(), x, y));
+}
+
+void RenderViewHost::ExecuteMediaPlayerActionAtLocation(
+ const gfx::Point& location, const WebKit::WebMediaPlayerAction& action) {
+ Send(new ViewMsg_MediaPlayerActionAt(routing_id(), location, action));
+}
+
+void RenderViewHost::DisassociateFromPopupCount() {
+ Send(new ViewMsg_DisassociateFromPopupCount(routing_id()));
+}
+
+void RenderViewHost::NotifyMoveOrResizeStarted() {
+ Send(new ViewMsg_MoveOrResizeStarted(routing_id()));
+}
+
+void RenderViewHost::StopFinding(const ViewMsg_StopFinding_Params& params) {
+ Send(new ViewMsg_StopFinding(routing_id(), params));
+}
+
void RenderViewHost::OnAccessibilityNotifications(
const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params) {
if (view() && !is_swapped_out_)
« no previous file with comments | « content/browser/renderer_host/render_view_host.h ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698