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

Unified Diff: content/shell/shell_content_browser_client.cc

Issue 9513006: First pass at content shell for the Mac. Doesn't work yet. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase only, no code change Created 8 years, 10 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/mac/app-Info.plist ('k') | content/shell/shell_content_main.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 711aecd38182dc7d5cd5bcb8c889eb372beab479..9089438421afef4971c6071c6bd6c668152b3a27 100644
--- a/content/shell/shell_content_browser_client.cc
+++ b/content/shell/shell_content_browser_client.cc
@@ -20,6 +20,8 @@
#include "content/common/view_messages.h"
#elif defined(OS_LINUX)
#include "content/browser/tab_contents/tab_contents_view_gtk.h"
+#elif defined(OS_MACOSX)
+#include "content/browser/tab_contents/web_contents_view_mac.h"
#endif
namespace content {
@@ -47,6 +49,8 @@ WebContentsView* ShellContentBrowserClient::CreateWebContentsView(
return new TabContentsViewWin(web_contents);
#elif defined(OS_LINUX)
return new TabContentsViewGtk(web_contents, NULL);
+#elif defined(OS_MACOSX)
+ return web_contents_view_mac::CreateWebContentsView(web_contents, NULL);
#else
return NULL;
#endif
« no previous file with comments | « content/shell/mac/app-Info.plist ('k') | content/shell/shell_content_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698