diff options
Diffstat (limited to 'chrome/browser/ui/gtk/constrained_window_gtk.cc')
-rw-r--r-- | chrome/browser/ui/gtk/constrained_window_gtk.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/ui/gtk/constrained_window_gtk.cc b/chrome/browser/ui/gtk/constrained_window_gtk.cc index 9d9f23f..3f32653 100644 --- a/chrome/browser/ui/gtk/constrained_window_gtk.cc +++ b/chrome/browser/ui/gtk/constrained_window_gtk.cc @@ -16,9 +16,7 @@ #include "ui/base/gtk/gtk_compat.h" #include "ui/base/gtk/gtk_hig_constants.h" -#if defined(TOUCH_UI) -#include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h" -#elif defined(TOOLKIT_VIEWS) +#if defined(TOOLKIT_VIEWS) #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.h" #include "chrome/browser/ui/views/tab_contents/tab_contents_view_views.h" #else @@ -135,7 +133,7 @@ void ConstrainedWindowGtk::FocusConstrainedWindow() { ConstrainedWindowGtk::TabContentsViewType* ConstrainedWindowGtk::ContainingView() { -#if defined(TOOLKIT_VIEWS) && !defined(TOUCH_UI) +#if defined(TOOLKIT_VIEWS) return static_cast<NativeTabContentsViewGtk*>( static_cast<TabContentsViewViews*>(wrapper_->view())-> native_tab_contents_view()); |