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

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

Issue 9382037: Move ContextMenuParams struct from webkit/glue to content/public/common. The reasons are: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 10 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/browser/renderer_host/render_view_host.h
===================================================================
--- content/browser/renderer_host/render_view_host.h (revision 121660)
+++ content/browser/renderer_host/render_view_host.h (working copy)
@@ -37,7 +37,6 @@
class SessionStorageNamespace;
class SkBitmap;
class ViewMsg_Navigate;
-struct ContextMenuParams;
struct MediaPlayerAction;
struct ViewHostMsg_AccessibilityNotification_Params;
struct ViewHostMsg_CreateWindow_Params;
@@ -52,10 +51,12 @@
}
namespace content {
+class RenderViewHostDelegate;
+class RenderViewHostObserver;
struct FileChooserParams;
+struct ContextMenuParams;
+struct CustomContextMenuContext;
struct Referrer;
-class RenderViewHostDelegate;
-class RenderViewHostObserver;
struct ShowDesktopNotificationHostMsgParams;
}
@@ -69,7 +70,6 @@
namespace webkit_glue {
struct WebAccessibility;
-struct CustomContextMenuContext;
} // namespace webkit_glue
namespace WebKit {
@@ -453,11 +453,11 @@
// Executes custom context menu action that was provided from WebKit.
void ExecuteCustomContextMenuCommand(
- int action, const webkit_glue::CustomContextMenuContext& context);
+ int action, const content::CustomContextMenuContext& context);
// Let the renderer know that the menu has been closed.
void NotifyContextMenuClosed(
- const webkit_glue::CustomContextMenuContext& context);
+ const content::CustomContextMenuContext& context);
// Copies the image at location x, y to the clipboard (if there indeed is an
// image at that location).
@@ -540,7 +540,7 @@
void OnMsgDidChangeLoadProgress(double load_progress);
void OnMsgDocumentAvailableInMainFrame();
void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id);
- void OnMsgContextMenu(const ContextMenuParams& params);
+ void OnMsgContextMenu(const content::ContextMenuParams& params);
void OnMsgToggleFullscreen(bool enter_fullscreen);
void OnMsgOpenURL(const GURL& url,
const content::Referrer& referrer,

Powered by Google App Engine
This is Rietveld 408576698