| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TAB_STRIP_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 gfx::Point last_mouse_move_location_; | 657 gfx::Point last_mouse_move_location_; |
| 658 | 658 |
| 659 // Time of the last mouse move event. | 659 // Time of the last mouse move event. |
| 660 base::TimeTicks last_mouse_move_time_; | 660 base::TimeTicks last_mouse_move_time_; |
| 661 | 661 |
| 662 // Number of mouse moves. | 662 // Number of mouse moves. |
| 663 int mouse_move_count_; | 663 int mouse_move_count_; |
| 664 | 664 |
| 665 // Timer used when a tab is closed and we need to relayout. Only used when a | 665 // Timer used when a tab is closed and we need to relayout. Only used when a |
| 666 // tab close comes from a touch device. | 666 // tab close comes from a touch device. |
| 667 base::OneShotTimer<TabStrip> resize_layout_timer_; | 667 base::OneShotTimer resize_layout_timer_; |
| 668 | 668 |
| 669 // True if tabs are painted as rectangular light-bars. | 669 // True if tabs are painted as rectangular light-bars. |
| 670 bool immersive_style_; | 670 bool immersive_style_; |
| 671 | 671 |
| 672 // Our observers. | 672 // Our observers. |
| 673 typedef base::ObserverList<TabStripObserver> TabStripObservers; | 673 typedef base::ObserverList<TabStripObserver> TabStripObservers; |
| 674 TabStripObservers observers_; | 674 TabStripObservers observers_; |
| 675 | 675 |
| 676 DISALLOW_COPY_AND_ASSIGN(TabStrip); | 676 DISALLOW_COPY_AND_ASSIGN(TabStrip); |
| 677 }; | 677 }; |
| 678 | 678 |
| 679 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ | 679 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ |
| OLD | NEW |