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

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

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 | « chrome/browser/ui/views/frame/browser_view.cc ('k') | content/browser/renderer_host/render_view_host.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.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.
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698