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

Unified Diff: content/shell/shell_content_browser_client.cc

Issue 10913035: Add context popup menu support for content shell[GTK]. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix the Mac build Created 8 years, 4 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 | « content/shell/shell_content_browser_client.h ('k') | content/shell/shell_web_contents_view_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/shell_content_browser_client.cc
diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc
index 9eb26b7b04058b27a948c2194a2ffaf34ad06871..8c2c1599391f5a164b0f783494f47afdc90da1ba 100644
--- a/content/shell/shell_content_browser_client.cc
+++ b/content/shell/shell_content_browser_client.cc
@@ -14,6 +14,7 @@
#include "content/shell/shell_devtools_delegate.h"
#include "content/shell/shell_resource_dispatcher_host_delegate.h"
#include "content/shell/shell_switches.h"
+#include "content/shell/shell_web_contents_view_delegate_creator.h"
#include "content/shell/webkit_test_runner_host.h"
#include "googleurl/src/gurl.h"
@@ -63,6 +64,15 @@ std::string ShellContentBrowserClient::GetDefaultDownloadName() {
return "download";
}
+WebContentsViewDelegate* ShellContentBrowserClient::GetWebContentsViewDelegate(
+ WebContents* web_contents) {
+#if defined(TOOLKIT_GTK)
+ return CreateShellWebContentsViewDelegate(web_contents);
+#endif
+ NOTIMPLEMENTED();
+ return NULL;
+}
+
#if defined(OS_ANDROID)
void ShellContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
const CommandLine& command_line,
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | content/shell/shell_web_contents_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698