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

Unified Diff: chrome/browser/extensions/platform_app_browsertest.cc

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: chrome/browser/extensions/platform_app_browsertest.cc
===================================================================
--- chrome/browser/extensions/platform_app_browsertest.cc (revision 121660)
+++ chrome/browser/extensions/platform_app_browsertest.cc (working copy)
@@ -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();

Powered by Google App Engine
This is Rietveld 408576698