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
diff --git a/chrome/browser/extensions/platform_app_browsertest.cc b/chrome/browser/extensions/platform_app_browsertest.cc
index 57952f9..b3cf411 100644
--- a/chrome/browser/extensions/platform_app_browsertest.cc
+++ b/chrome/browser/extensions/platform_app_browsertest.cc
@@ -18,9 +18,9 @@
#include "chrome/common/extensions/extension_constants.h"
#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/web_contents.h"
+#include "content/public/common/context_menu_params.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/models/menu_model.h"
-#include "webkit/glue/context_menu.h"
using content::WebContents;
@@ -29,7 +29,7 @@
class PlatformAppContextMenu : public RenderViewContextMenu {
public:
PlatformAppContextMenu(WebContents* web_contents,
- const ContextMenuParams& params)
+ const content::ContextMenuParams& params)
: RenderViewContextMenu(web_contents, params) {}
protected:
@@ -131,7 +131,7 @@
WebContents* web_contents = GetFirstPlatformAppWebContents();
ASSERT_TRUE(web_contents);
WebKit::WebContextMenuData data;
- ContextMenuParams params(data);
+ content::ContextMenuParams params(data);
PlatformAppContextMenu* menu = new PlatformAppContextMenu(web_contents,
params);
menu->Init();
@@ -150,7 +150,7 @@
WebContents* web_contents = GetFirstPlatformAppWebContents();
ASSERT_TRUE(web_contents);
WebKit::WebContextMenuData data;
- ContextMenuParams params(data);
+ content::ContextMenuParams params(data);
PlatformAppContextMenu* menu = new PlatformAppContextMenu(web_contents,
params);
menu->Init();