1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_CONTAINER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_CONTAINER_H_ 7 #pragma once 8 9 // There are two strategies implemented for embedding the actual tab contents 10 // which are to use a views implementaiton all the way down, or to use a 11 // NativeViewHost to encapsulate a native widget that then contains another 12 // views heirarchy rooted at that widget. The TOUCH_UI is currently the only UI 13 // that uses the pure views approach. 14 // 15 // Common code to the two approaches is in tab_contents_container.cc, while 16 // views-only code is in tab_contents_container_views.cc and native-widget only 17 // code is in tab_contents_container_native.cc. The headers are distinct 18 // because the classes have different member variables. 19 #if defined(TOUCH_UI) 20 #include "chrome/browser/ui/views/tab_contents/tab_contents_container_views.h" 21 #else 22 #include "chrome/browser/ui/views/tab_contents/tab_contents_container_native.h" 23 #endif 24 25 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_TAB_CONTENTS_CONTAINER_H_ 26