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

Unified Diff: content/shell/browser/shell_web_contents_view_delegate.h

Issue 2132983002: Move content shell context menu to ShellWebContentsViewDelegate in Views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 5 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: content/shell/browser/shell_web_contents_view_delegate.h
diff --git a/content/shell/browser/shell_web_contents_view_delegate.h b/content/shell/browser/shell_web_contents_view_delegate.h
index 8b08aba2f6e3719454ff9ffbc0311b0f0d7f3a86..52db099d70fdfcb60cc790ed1e0e4b8d009e5a8b 100644
--- a/content/shell/browser/shell_web_contents_view_delegate.h
+++ b/content/shell/browser/shell_web_contents_view_delegate.h
@@ -24,13 +24,13 @@ class ShellWebContentsViewDelegate : public WebContentsViewDelegate {
#if defined(OS_MACOSX)
void ActionPerformed(int id);
-#elif defined(OS_WIN)
- void MenuItemSelected(int selection);
#endif
private:
WebContents* web_contents_;
+#if defined(OS_MACOSX)
ContextMenuParams params_;
+#endif
DISALLOW_COPY_AND_ASSIGN(ShellWebContentsViewDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698