OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TABS_TAB_STRIP_MODEL_H_ | 5 #ifndef CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H_ |
6 #define CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H_ | 6 #define CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
| 12 #include "chrome/common/notification_observer.h" |
12 #include "chrome/common/notification_registrar.h" | 13 #include "chrome/common/notification_registrar.h" |
13 #include "chrome/common/page_transition_types.h" | 14 #include "chrome/common/page_transition_types.h" |
14 | 15 |
15 namespace gfx { | 16 namespace gfx { |
16 class Rect; | 17 class Rect; |
17 } | 18 } |
18 class Browser; | 19 class Browser; |
19 class DockInfo; | 20 class DockInfo; |
20 class GURL; | 21 class GURL; |
21 class NavigationController; | 22 class NavigationController; |
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
845 typedef ObserverList<TabStripModelObserver> TabStripModelObservers; | 846 typedef ObserverList<TabStripModelObserver> TabStripModelObservers; |
846 TabStripModelObservers observers_; | 847 TabStripModelObservers observers_; |
847 | 848 |
848 // A scoped container for notification registries. | 849 // A scoped container for notification registries. |
849 NotificationRegistrar registrar_; | 850 NotificationRegistrar registrar_; |
850 | 851 |
851 DISALLOW_COPY_AND_ASSIGN(TabStripModel); | 852 DISALLOW_COPY_AND_ASSIGN(TabStripModel); |
852 }; | 853 }; |
853 | 854 |
854 #endif // CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H_ | 855 #endif // CHROME_BROWSER_TABS_TAB_STRIP_MODEL_H_ |
OLD | NEW |