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

Unified Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk.cc

Issue 7256001: Fix a few issues with Chrome-in-Views-Desktop: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
Index: chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk.cc
===================================================================
--- chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk.cc (revision 90370)
+++ chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk.cc (working copy)
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/views/tab_contents/native_tab_contents_container_gtk.h"
#include "chrome/browser/ui/view_ids.h"
+#include "chrome/browser/ui/views/tab_contents/native_tab_contents_container_views.h"
#include "chrome/browser/ui/views/tab_contents/tab_contents_container.h"
#include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h"
#include "content/browser/renderer_host/render_widget_host_view.h"
@@ -145,5 +146,7 @@
// static
NativeTabContentsContainer* NativeTabContentsContainer::CreateNativeContainer(
TabContentsContainer* container) {
+ if (views::Widget::IsPureViews())
+ return new NativeTabContentsContainerViews(container);
return new NativeTabContentsContainerGtk(container);
}
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/ui/views/tab_contents/native_tab_contents_container_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698