diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-12 20:42:51 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-12 20:42:51 +0000 |
commit | 35be7ecb614853d450ea138e2c97cae9633a40a8 (patch) | |
tree | 4ac9b3433b0ab401b8fdff8f32bd5f973fd140f7 /chrome/browser/tab_contents/render_view_context_menu_gtk.cc | |
parent | c9ec57f7bcc1fb9f8fddfc89e2746b0206691711 (diff) | |
download | chromium_src-35be7ecb614853d450ea138e2c97cae9633a40a8.zip chromium_src-35be7ecb614853d450ea138e2c97cae9633a40a8.tar.gz chromium_src-35be7ecb614853d450ea138e2c97cae9633a40a8.tar.bz2 |
Move ContextMenuParams struct from webkit/glue to content/public/common. The reasons are:
-this struct wasn't used at all in webkit layer, so no need to have it there
-we can avoid exposing content layer's serialization of SSLInfo to embedders
-avoid mentioning routing_ids in the webkit layer
BUG=98716
Review URL: https://chromiumcodereview.appspot.com/9382037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121673 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/render_view_context_menu_gtk.cc')
-rw-r--r-- | chrome/browser/tab_contents/render_view_context_menu_gtk.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/render_view_context_menu_gtk.cc b/chrome/browser/tab_contents/render_view_context_menu_gtk.cc index bdc5b5c..44c0804 100644 --- a/chrome/browser/tab_contents/render_view_context_menu_gtk.cc +++ b/chrome/browser/tab_contents/render_view_context_menu_gtk.cc @@ -12,10 +12,10 @@ #include "chrome/browser/ui/gtk/gtk_util.h" #include "content/browser/renderer_host/render_widget_host_view.h" #include "content/public/browser/web_contents.h" +#include "content/public/common/context_menu_params.h" #include "grit/generated_resources.h" #include "ui/base/l10n/l10n_util.h" #include "ui/gfx/gtk_util.h" -#include "webkit/glue/context_menu.h" using content::WebContents; @@ -75,7 +75,7 @@ GtkWidget* GetMenuItemByID(ui::MenuModel* model, RenderViewContextMenuGtk::RenderViewContextMenuGtk( WebContents* web_contents, - const ContextMenuParams& params, + const content::ContextMenuParams& params, RenderWidgetHostView* view) : RenderViewContextMenu(web_contents, params) { GdkEventButton* event = view->GetLastMouseDown(); |