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

Unified Diff: content/shell/browser/shell.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.h
diff --git a/content/shell/browser/shell.h b/content/shell/browser/shell.h
index 59125cf25a1b07d18cfa05a3077cb655b2d392c2..78710051858e8be57676b2fe8dfa5a0c157fe326 100644
--- a/content/shell/browser/shell.h
+++ b/content/shell/browser/shell.h
@@ -76,7 +76,6 @@ class Shell : public WebContentsDelegate,
void UpdateNavigationControls(bool to_different_document);
void Close();
void ShowDevTools();
- void ShowDevToolsForElementAt(int x, int y);
void CloseDevTools();
#if defined(OS_MACOSX)
// Resizes the web content view to the given dimensions.
@@ -159,7 +158,6 @@ class Shell : public WebContentsDelegate,
const base::string16& source_id) override;
void RendererUnresponsive(WebContents* source) override;
void ActivateContents(WebContents* contents) override;
- bool HandleContextMenu(const content::ContextMenuParams& params) override;
static gfx::Size GetShellDefaultSize();
@@ -205,8 +203,6 @@ class Shell : public WebContentsDelegate,
void PlatformSetIsLoading(bool loading);
// Set the title of shell window
void PlatformSetTitle(const base::string16& title);
- // User right-clicked on the web view
- bool PlatformHandleContextMenu(const content::ContextMenuParams& params);
#if defined(OS_ANDROID)
void PlatformToggleFullscreenModeForTab(WebContents* web_contents,
bool enter_fullscreen);

Powered by Google App Engine
This is Rietveld 408576698