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

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

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.cc
diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc
index ecb85f67dad9fe681e41e41d97172bf10bd265c3..21db6ac6a548c30696d34a6e2de008b25ebbdab8 100644
--- a/content/shell/browser/shell.cc
+++ b/content/shell/browser/shell.cc
@@ -289,11 +289,6 @@ void Shell::ShowDevTools() {
InnerShowDevTools();
}
-void Shell::ShowDevToolsForElementAt(int x, int y) {
- InnerShowDevTools();
Peter Beverloo 2016/07/20 16:40:14 nit: please inline InnerShowDevTools() in Shell::S
mohsen 2016/07/20 22:16:31 Done.
- devtools_frontend_->InspectElementAt(x, y);
-}
-
void Shell::CloseDevTools() {
if (!devtools_frontend_)
return;
@@ -438,10 +433,6 @@ void Shell::ActivateContents(WebContents* contents) {
contents->GetRenderViewHost()->GetWidget()->Focus();
}
-bool Shell::HandleContextMenu(const content::ContextMenuParams& params) {
- return PlatformHandleContextMenu(params);
-}
-
gfx::Size Shell::GetShellDefaultSize() {
static gfx::Size default_shell_size;
if (!default_shell_size.IsEmpty())

Powered by Google App Engine
This is Rietveld 408576698