Index: content/shell/browser/shell_web_contents_view_delegate_win.cc |
diff --git a/content/shell/browser/shell_web_contents_view_delegate_win.cc b/content/shell/browser/shell_web_contents_view_delegate_win.cc |
index 672791b22ecd4c100d8d811b953f8ace15730fad..3ed042bf352489ef021c0dc9bbe9fb25d4223987 100644 |
--- a/content/shell/browser/shell_web_contents_view_delegate_win.cc |
+++ b/content/shell/browser/shell_web_contents_view_delegate_win.cc |
@@ -170,23 +170,7 @@ void ShellWebContentsViewDelegate::ShowContextMenu( |
L"Inspect...", |
ShellContextMenuItemInspectId, |
true); |
-#if defined(USE_AURA) |
NOTIMPLEMENTED(); |
-#else |
- gfx::Point screen_point(params.x, params.y); |
- POINT point = screen_point.ToPOINT(); |
- ClientToScreen(web_contents_->GetNativeView(), &point); |
- |
- int selection = |
- TrackPopupMenu(sub_menu, |
- TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD, |
- point.x, point.y, |
- 0, |
- web_contents_->GetContentNativeView(), |
- NULL); |
- |
- MenuItemSelected(selection); |
-#endif |
DestroyMenu(menu); |
} |