Chromium Code Reviews| 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..8981e19d18661479b940b409d82d8b1f22b509f3 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.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( |
| + content::WebContents* web_contents) { |
|
jochen (gone - plz use gerrit)
2012/08/31 20:58:58
no content::
Shouqun Liu
2012/08/31 21:34:20
Done.
|
| +#if defined(TOOLKIT_GTK) |
| + return new ShellWebContentsViewDelegate(web_contents); |
| +#endif |
| + NOTIMPLEMENTED(); |
| + return NULL; |
| +} |
| + |
| #if defined(OS_ANDROID) |
| void ShellContentBrowserClient::GetAdditionalMappedFilesForChildProcess( |
| const CommandLine& command_line, |