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

Unified Diff: content/shell/browser/shell_web_contents_view_delegate_win.cc

Issue 909183002: win/aura: Remove some more non-aura code for Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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
« no previous file with comments | « components/crash/app/hard_error_handler_win.cc ('k') | printing/printing_context_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « components/crash/app/hard_error_handler_win.cc ('k') | printing/printing_context_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698