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