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/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
10 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" | 11 #include "chrome/browser/ui/views/frame/immersive_mode_controller.h" |
11 #include "chrome/browser/ui/views/tabs/tab_strip_observer.h" | 12 #include "chrome/browser/ui/views/tabs/tab_strip_observer.h" |
12 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
13 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
14 #include "ui/events/event_handler.h" | 15 #include "ui/events/event_handler.h" |
15 | 16 |
16 class Browser; | 17 class Browser; |
17 class Tab; | 18 class Tab; |
18 class TabStrip; | 19 class TabStrip; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 // Forces the tabs to be revealed if we are in immersive fullscreen. | 109 // Forces the tabs to be revealed if we are in immersive fullscreen. |
109 scoped_ptr<ImmersiveRevealedLock> immersive_reveal_lock_; | 110 scoped_ptr<ImmersiveRevealedLock> immersive_reveal_lock_; |
110 | 111 |
111 content::NotificationRegistrar registrar_; | 112 content::NotificationRegistrar registrar_; |
112 base::WeakPtrFactory<TabScrubber> weak_ptr_factory_; | 113 base::WeakPtrFactory<TabScrubber> weak_ptr_factory_; |
113 | 114 |
114 DISALLOW_COPY_AND_ASSIGN(TabScrubber); | 115 DISALLOW_COPY_AND_ASSIGN(TabScrubber); |
115 }; | 116 }; |
116 | 117 |
117 #endif // CHROME_BROWSER_UI_VIEWS_ASH_TAB_SCRUBBER_H_ | 118 #endif // CHROME_BROWSER_UI_VIEWS_ASH_TAB_SCRUBBER_H_ |
OLD | NEW |