| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_TOUCH_TABS_TOUCH_TAB_STRIP_H_ | 5 #ifndef CHROME_BROWSER_UI_TOUCH_TABS_TOUCH_TAB_STRIP_H_ |
| 6 #define CHROME_BROWSER_UI_TOUCH_TABS_TOUCH_TAB_STRIP_H_ | 6 #define CHROME_BROWSER_UI_TOUCH_TABS_TOUCH_TAB_STRIP_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/ui/views/tabs/tab_strip.h" | 9 #include "chrome/browser/ui/views/tabs/tab_strip.h" |
| 10 | 10 |
| 11 namespace ui { | 11 namespace ui { |
| 12 enum TouchStatus; | 12 enum TouchStatus; |
| 13 } | 13 } |
| 14 | 14 |
| 15 class TabStripSelectionModel; | |
| 16 class TouchTab; | 15 class TouchTab; |
| 17 | 16 |
| 18 /////////////////////////////////////////////////////////////////////////////// | 17 /////////////////////////////////////////////////////////////////////////////// |
| 19 // | 18 // |
| 20 // TouchTabStrip | 19 // TouchTabStrip |
| 21 // | 20 // |
| 22 // A View that overrides Touch specific behavior. | 21 // A View that overrides Touch specific behavior. |
| 23 // | 22 // |
| 24 /////////////////////////////////////////////////////////////////////////////// | 23 /////////////////////////////////////////////////////////////////////////////// |
| 25 class TouchTabStrip : public TabStrip { | 24 class TouchTabStrip : public TabStrip { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 37 // BaseTabStrip overrides: | 36 // BaseTabStrip overrides: |
| 38 virtual BaseTab* CreateTab() OVERRIDE; | 37 virtual BaseTab* CreateTab() OVERRIDE; |
| 39 | 38 |
| 40 private: | 39 private: |
| 41 virtual ui::TouchStatus OnTouchEvent(const views::TouchEvent& event) OVERRIDE; | 40 virtual ui::TouchStatus OnTouchEvent(const views::TouchEvent& event) OVERRIDE; |
| 42 | 41 |
| 43 DISALLOW_COPY_AND_ASSIGN(TouchTabStrip); | 42 DISALLOW_COPY_AND_ASSIGN(TouchTabStrip); |
| 44 }; | 43 }; |
| 45 | 44 |
| 46 #endif // CHROME_BROWSER_UI_TOUCH_TABS_TOUCH_TAB_STRIP_H_ | 45 #endif // CHROME_BROWSER_UI_TOUCH_TABS_TOUCH_TAB_STRIP_H_ |
| OLD | NEW |