| 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_TABS_TAB_STRIP_MODEL_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_OBSERVER_H_ | 6 #define CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_OBSERVER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 class TabContentsWrapper; | 9 class TabContents; |
| 10 typedef TabContents TabContentsWrapper; |
| 10 class TabStripModel; | 11 class TabStripModel; |
| 11 class TabStripSelectionModel; | 12 class TabStripSelectionModel; |
| 12 | 13 |
| 13 //////////////////////////////////////////////////////////////////////////////// | 14 //////////////////////////////////////////////////////////////////////////////// |
| 14 // | 15 // |
| 15 // TabStripModelObserver | 16 // TabStripModelObserver |
| 16 // | 17 // |
| 17 // Objects implement this interface when they wish to be notified of changes | 18 // Objects implement this interface when they wish to be notified of changes |
| 18 // to the TabStripModel. | 19 // to the TabStripModel. |
| 19 // | 20 // |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 134 |
| 134 // Invoked when an active/selected tab at |index| is selected again (ie - the | 135 // Invoked when an active/selected tab at |index| is selected again (ie - the |
| 135 // active/foreground tab is clicked). | 136 // active/foreground tab is clicked). |
| 136 virtual void ActiveTabClicked(int index); | 137 virtual void ActiveTabClicked(int index); |
| 137 | 138 |
| 138 protected: | 139 protected: |
| 139 virtual ~TabStripModelObserver() {} | 140 virtual ~TabStripModelObserver() {} |
| 140 }; | 141 }; |
| 141 | 142 |
| 142 #endif // CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_OBSERVER_H_ | 143 #endif // CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_OBSERVER_H_ |
| OLD | NEW |