OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
3 // LICENSE file. | 3 // LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_2_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_2_H_ |
6 #define CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_2_H_ | 6 #define CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_2_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/task.h" | 10 #include "base/task.h" |
11 #include "chrome/browser/views/tabs/tab_2.h" | 11 #include "chrome/browser/views/tabs/tab_2.h" |
| 12 #include "chrome/browser/views/tabs/tab_strip_wrapper.h" |
12 #include "views/animator.h" | 13 #include "views/animator.h" |
13 #include "views/view.h" | 14 #include "views/view.h" |
14 | 15 |
15 namespace gfx { | 16 namespace gfx { |
16 class Canvas; | 17 class Canvas; |
17 } | 18 } |
18 | 19 |
19 // An interface implemented by an object that provides state for objects in the | 20 // An interface implemented by an object that provides state for objects in the |
20 // TabStrip2. This object is never owned by the TabStrip2. | 21 // TabStrip2. This object is never owned by the TabStrip2. |
21 // TODO(beng): maybe TabStrip2Delegate? | 22 // TODO(beng): maybe TabStrip2Delegate? |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 int last_move_screen_x_; | 155 int last_move_screen_x_; |
155 | 156 |
156 // Factories to help break up work and avoid nesting message loops. | 157 // Factories to help break up work and avoid nesting message loops. |
157 ScopedRunnableMethodFactory<TabStrip2> detach_factory_; | 158 ScopedRunnableMethodFactory<TabStrip2> detach_factory_; |
158 ScopedRunnableMethodFactory<TabStrip2> drag_start_factory_; | 159 ScopedRunnableMethodFactory<TabStrip2> drag_start_factory_; |
159 | 160 |
160 DISALLOW_COPY_AND_ASSIGN(TabStrip2); | 161 DISALLOW_COPY_AND_ASSIGN(TabStrip2); |
161 }; | 162 }; |
162 | 163 |
163 #endif // #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_2_H_ | 164 #endif // #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_STRIP_2_H_ |
OLD | NEW |