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_VIEWS_TABS_BASE_TAB_STRIP_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_STRIP_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_STRIP_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_STRIP_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "chrome/browser/ui/views/tabs/abstract_tab_strip_view.h" | 12 #include "chrome/browser/ui/views/tabs/abstract_tab_strip_view.h" |
13 #include "chrome/browser/ui/views/tabs/base_tab.h" | 13 #include "chrome/browser/ui/views/tabs/base_tab.h" |
14 #include "chrome/browser/ui/views/tabs/tab_controller.h" | 14 #include "chrome/browser/ui/views/tabs/tab_controller.h" |
15 #include "ui/views/animation/bounds_animator.h" | 15 #include "ui/views/animation/bounds_animator.h" |
16 #include "views/view.h" | 16 #include "ui/views/view.h" |
17 | 17 |
18 class BaseTab; | 18 class BaseTab; |
19 class TabDragController; | 19 class TabDragController; |
20 class TabStripController; | 20 class TabStripController; |
21 class TabStripSelectionModel; | 21 class TabStripSelectionModel; |
22 | 22 |
23 // Base class for the view tab strip implementations. | 23 // Base class for the view tab strip implementations. |
24 class BaseTabStrip : public AbstractTabStripView, | 24 class BaseTabStrip : public AbstractTabStripView, |
25 public TabController { | 25 public TabController { |
26 public: | 26 public: |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 // model. | 264 // model. |
265 bool attaching_dragged_tab_; | 265 bool attaching_dragged_tab_; |
266 | 266 |
267 views::BoundsAnimator bounds_animator_; | 267 views::BoundsAnimator bounds_animator_; |
268 | 268 |
269 // Size we last layed out at. | 269 // Size we last layed out at. |
270 gfx::Size last_layout_size_; | 270 gfx::Size last_layout_size_; |
271 }; | 271 }; |
272 | 272 |
273 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_STRIP_H_ | 273 #endif // CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_STRIP_H_ |
OLD | NEW |