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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 8344061: content: Split off ChromeTabContentsViewGtk from TabContentsViewGtk. This new (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix clang Created 9 years, 1 month 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 | « no previous file | chrome/browser/tab_contents/chrome_tab_contents_view_wrapper_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3853866cc2885f82e2853c3384b73dba49582390..111dd03ab4f012e8d1bae8561d6b0a0212b39503 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -115,6 +115,7 @@
#if defined(TOOLKIT_VIEWS)
#include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h"
#elif defined(TOOLKIT_USES_GTK)
+#include "chrome/browser/tab_contents/chrome_tab_contents_view_wrapper_gtk.h"
#include "chrome/browser/tab_contents/tab_contents_view_gtk.h"
#elif defined(OS_MACOSX)
#include "chrome/browser/tab_contents/tab_contents_view_mac.h"
@@ -280,7 +281,8 @@ TabContentsView* ChromeContentBrowserClient::CreateTabContentsView(
#if defined(TOOLKIT_VIEWS)
return new TabContentsViewViews(tab_contents);
#elif defined(TOOLKIT_USES_GTK)
- return new TabContentsViewGtk(tab_contents);
+ return new TabContentsViewGtk(tab_contents,
+ new ChromeTabContentsViewWrapperGtk);
#elif defined(OS_MACOSX)
return tab_contents_view_mac::CreateTabContentsView(tab_contents);
#else
« no previous file with comments | « no previous file | chrome/browser/tab_contents/chrome_tab_contents_view_wrapper_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698