| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index e6556154ee1bca31f7a0adcc65a8c7172a3ae66b..946b5b64d7e6bc4697a1b84ff304a183e153d8d2 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -186,6 +186,7 @@
|
| #endif
|
|
|
| #if defined(USE_ATHENA)
|
| +#include "athena/content/public/web_contents_view_delegate_creator.h"
|
| #include "chrome/browser/ui/views/athena/chrome_browser_main_extra_parts_athena.h"
|
| #elif defined(USE_ASH)
|
| #include "chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h"
|
| @@ -788,7 +789,11 @@ void ChromeContentBrowserClient::GetStoragePartitionConfigForSite(
|
| content::WebContentsViewDelegate*
|
| ChromeContentBrowserClient::GetWebContentsViewDelegate(
|
| content::WebContents* web_contents) {
|
| +#if defined(USE_ATHENA)
|
| + return athena::CreateWebContentsViewDelegate(web_contents);
|
| +#else
|
| return chrome::CreateWebContentsViewDelegate(web_contents);
|
| +#endif
|
| }
|
|
|
| void ChromeContentBrowserClient::RenderProcessWillLaunch(
|
|
|