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

Unified Diff: chrome/browser/download/download_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/download/download_browsertest.cc
===================================================================
--- chrome/browser/download/download_browsertest.cc (revision 121660)
+++ chrome/browser/download/download_browsertest.cc (working copy)
@@ -52,10 +52,10 @@
#include "content/public/browser/download_manager.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/web_contents.h"
+#include "content/public/common/context_menu_params.h"
#include "content/public/common/page_transition_types.h"
#include "net/base/net_util.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "webkit/glue/context_menu.h"
using content::BrowserThread;
using content::DownloadItem;
@@ -258,7 +258,7 @@
class TestRenderViewContextMenu : public RenderViewContextMenu {
public:
TestRenderViewContextMenu(WebContents* web_contents,
- const ContextMenuParams& params)
+ const content::ContextMenuParams& params)
: RenderViewContextMenu(web_contents, params) {
}
virtual ~TestRenderViewContextMenu() {}
@@ -1801,7 +1801,7 @@
new DownloadTestObserver(
DownloadManagerForBrowser(browser()), 1, DownloadItem::COMPLETE,
false, DownloadTestObserver::ON_DANGEROUS_DOWNLOAD_FAIL));
- ContextMenuParams context_menu_params;
+ content::ContextMenuParams context_menu_params;
context_menu_params.media_type = WebKit::WebContextMenuData::MediaTypeImage;
context_menu_params.src_url = url;
context_menu_params.page_url = url;
@@ -1876,7 +1876,7 @@
new DownloadTestObserver(
DownloadManagerForBrowser(browser()), 1, DownloadItem::COMPLETE,
false, DownloadTestObserver::ON_DANGEROUS_DOWNLOAD_FAIL));
- ContextMenuParams context_menu_params;
+ content::ContextMenuParams context_menu_params;
context_menu_params.media_type = WebKit::WebContextMenuData::MediaTypeImage;
context_menu_params.src_url = jpeg_url;
context_menu_params.page_url = jpeg_url;

Powered by Google App Engine
This is Rietveld 408576698