Index: content/browser/renderer_host/render_view_host.h |
=================================================================== |
--- content/browser/renderer_host/render_view_host.h (revision 102142) |
+++ content/browser/renderer_host/render_view_host.h (working copy) |
@@ -43,6 +43,7 @@ |
struct WebDropData; |
struct UserMetricsAction; |
struct ViewHostMsg_RunFileChooser_Params; |
+struct ViewMsg_StopFinding_Params; |
namespace base { |
class ListValue; |
@@ -58,6 +59,7 @@ |
namespace webkit_glue { |
struct WebAccessibility; |
+struct CustomContextMenuContext; |
} // namespace webkit_glue |
namespace WebKit { |
@@ -322,10 +324,6 @@ |
sudden_termination_allowed_ = enabled; |
} |
- // Message the renderer that we should be counted as a new document and not |
- // as a popup. |
- void DisassociateFromPopupCount(); |
- |
// RenderWidgetHost public overrides. |
virtual void Shutdown(); |
virtual bool IsRenderView() const; |
@@ -411,6 +409,37 @@ |
// Instructs the RenderView to send back updates to the preferred size. |
void EnablePreferredSizeMode(int flags); |
+ // Executes custom context menu action that was provided from WebKit. |
+ void ExecuteCustomContextMenuCommand( |
+ int action, const webkit_glue::CustomContextMenuContext& context); |
+ |
+ // Let the renderer know that the menu has been closed. |
+ void NotifyContextMenuClosed( |
+ const webkit_glue::CustomContextMenuContext& context); |
+ |
+ // Copies the image at location x, y to the clipboard (if there indeed is an |
+ // image at that location). |
+ void CopyImageAt(int x, int y); |
+ |
+ // Tells the renderer to perform the given action on the media player |
+ // located at the given point. |
+ void ExecuteMediaPlayerActionAtLocation( |
+ const gfx::Point& location, const WebKit::WebMediaPlayerAction& action); |
+ |
+ // Sent to the renderer when a popup window should no longer count against |
+ // the current popup count (either because it's not a popup or because it was |
+ // a generated by a user action or because a constrained popup got turned |
+ // into a full window). |
+ void DisassociateFromPopupCount(); |
+ |
+ // Notification that a move or resize renderer's containing window has |
+ // started. |
+ void NotifyMoveOrResizeStarted(); |
+ |
+ // Notifies the renderer that the user has closed the FindInPage window |
+ // (and what action to take regarding the selection). |
+ void StopFinding(const ViewMsg_StopFinding_Params& params); |
+ |
// NOTE: Do not add functions that just send an IPC message that are called in |
// one or two places. Have the caller send the IPC message directly. |