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_ASH_TAB_SCRUBBER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_TAB_SCRUBBER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_ASH_TAB_SCRUBBER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_ASH_TAB_SCRUBBER_H_ |
7 | 7 |
8 #include "base/timer/timer.h" | 8 #include "base/timer/timer.h" |
9 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" | 9 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" |
10 #include "chrome/browser/ui/views/tabs/tab_strip_observer.h" | 10 #include "chrome/browser/ui/views/tabs/tab_strip_observer.h" |
11 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
12 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
13 #include "ui/base/animation/animation_delegate.h" | |
14 #include "ui/base/events/event_handler.h" | 13 #include "ui/base/events/event_handler.h" |
15 | 14 |
16 class Browser; | 15 class Browser; |
17 class TabStrip; | 16 class TabStrip; |
18 | 17 |
19 namespace gfx { | 18 namespace gfx { |
20 class Point; | 19 class Point; |
21 } | 20 } |
22 | 21 |
23 // Class to enable quick tab switching via Ctrl-left-drag. | 22 // Class to enable quick tab switching via Ctrl-left-drag. |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 // Forces the tabs to be revealed if we are in immersive fullscreen. | 91 // Forces the tabs to be revealed if we are in immersive fullscreen. |
93 scoped_ptr<ImmersiveRevealedLock> immersive_reveal_lock_; | 92 scoped_ptr<ImmersiveRevealedLock> immersive_reveal_lock_; |
94 | 93 |
95 content::NotificationRegistrar registrar_; | 94 content::NotificationRegistrar registrar_; |
96 base::WeakPtrFactory<TabScrubber> weak_ptr_factory_; | 95 base::WeakPtrFactory<TabScrubber> weak_ptr_factory_; |
97 | 96 |
98 DISALLOW_COPY_AND_ASSIGN(TabScrubber); | 97 DISALLOW_COPY_AND_ASSIGN(TabScrubber); |
99 }; | 98 }; |
100 | 99 |
101 #endif // CHROME_BROWSER_UI_VIEWS_ASH_TAB_SCRUBBER_H_ | 100 #endif // CHROME_BROWSER_UI_VIEWS_ASH_TAB_SCRUBBER_H_ |
OLD | NEW |