| Index: chrome/browser/tab_contents/render_view_context_menu_browsertest.cc
|
| diff --git a/chrome/browser/tab_contents/render_view_context_menu_browsertest.cc b/chrome/browser/tab_contents/render_view_context_menu_browsertest.cc
|
| index 3248b72ffcfacef1d5fac1c6cd3f50f3498a098b..e7b71b7b3af11612151cb1bcfdc0be1f6f1af241 100644
|
| --- a/chrome/browser/tab_contents/render_view_context_menu_browsertest.cc
|
| +++ b/chrome/browser/tab_contents/render_view_context_menu_browsertest.cc
|
| @@ -36,7 +36,7 @@ class ContextMenuBrowserTest : public InProcessBrowserTest {
|
|
|
| TestRenderViewContextMenu* CreateContextMenu(GURL unfiltered_url, GURL url) {
|
| content::ContextMenuParams params;
|
| - params.media_type = WebKit::WebContextMenuData::MediaTypeNone;
|
| + params.media_type = blink::WebContextMenuData::MediaTypeNone;
|
| params.unfiltered_link_url = unfiltered_url;
|
| params.link_url = url;
|
| WebContents* web_contents =
|
| @@ -95,9 +95,9 @@ IN_PROC_BROWSER_TEST_F(ContextMenuBrowserTest,
|
| browser(), GURL("data:text/html,<a href='about:blank'>link</a>"));
|
|
|
| // Open a context menu.
|
| - WebKit::WebMouseEvent mouse_event;
|
| - mouse_event.type = WebKit::WebInputEvent::MouseDown;
|
| - mouse_event.button = WebKit::WebMouseEvent::ButtonRight;
|
| + blink::WebMouseEvent mouse_event;
|
| + mouse_event.type = blink::WebInputEvent::MouseDown;
|
| + mouse_event.button = blink::WebMouseEvent::ButtonRight;
|
| mouse_event.x = 15;
|
| mouse_event.y = 15;
|
| gfx::Rect offset;
|
| @@ -108,7 +108,7 @@ IN_PROC_BROWSER_TEST_F(ContextMenuBrowserTest,
|
| mouse_event.globalY = 15 + offset.y();
|
| mouse_event.clickCount = 1;
|
| tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
|
| - mouse_event.type = WebKit::WebInputEvent::MouseUp;
|
| + mouse_event.type = blink::WebInputEvent::MouseUp;
|
| tab->GetRenderViewHost()->ForwardMouseEvent(mouse_event);
|
|
|
| // The menu_observer will select "Open in new tab", wait for the new tab to
|
|
|