| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ |
| 6 #define CHROME_BROWSER_UI_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 716 | 716 |
| 717 // Overridden from TabStripModelObserver: | 717 // Overridden from TabStripModelObserver: |
| 718 virtual void TabInsertedAt(TabContentsWrapper* contents, | 718 virtual void TabInsertedAt(TabContentsWrapper* contents, |
| 719 int index, | 719 int index, |
| 720 bool foreground); | 720 bool foreground); |
| 721 virtual void TabClosingAt(TabStripModel* tab_strip_model, | 721 virtual void TabClosingAt(TabStripModel* tab_strip_model, |
| 722 TabContentsWrapper* contents, | 722 TabContentsWrapper* contents, |
| 723 int index); | 723 int index); |
| 724 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); | 724 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); |
| 725 virtual void TabDeselected(TabContentsWrapper* contents); | 725 virtual void TabDeselected(TabContentsWrapper* contents); |
| 726 virtual void TabSelectedAt(TabContentsWrapper* old_contents, | 726 virtual void TabActivatedAt(TabContentsWrapper* old_contents, |
| 727 TabContentsWrapper* new_contents, | 727 TabContentsWrapper* new_contents, |
| 728 int index, | 728 int index, |
| 729 bool user_gesture); | 729 bool user_gesture); |
| 730 virtual void TabMoved(TabContentsWrapper* contents, | 730 virtual void TabMoved(TabContentsWrapper* contents, |
| 731 int from_index, | 731 int from_index, |
| 732 int to_index); | 732 int to_index); |
| 733 virtual void TabReplacedAt(TabStripModel* tab_strip_model, | 733 virtual void TabReplacedAt(TabStripModel* tab_strip_model, |
| 734 TabContentsWrapper* old_contents, | 734 TabContentsWrapper* old_contents, |
| 735 TabContentsWrapper* new_contents, | 735 TabContentsWrapper* new_contents, |
| 736 int index); | 736 int index); |
| 737 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index); | 737 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index); |
| 738 virtual void TabStripEmpty(); | 738 virtual void TabStripEmpty(); |
| 739 | 739 |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1215 // Helper which implements the TabRestoreServiceDelegate interface. | 1215 // Helper which implements the TabRestoreServiceDelegate interface. |
| 1216 scoped_ptr<BrowserTabRestoreServiceDelegate> tab_restore_service_delegate_; | 1216 scoped_ptr<BrowserTabRestoreServiceDelegate> tab_restore_service_delegate_; |
| 1217 | 1217 |
| 1218 scoped_ptr<InstantController> instant_; | 1218 scoped_ptr<InstantController> instant_; |
| 1219 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; | 1219 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; |
| 1220 | 1220 |
| 1221 DISALLOW_COPY_AND_ASSIGN(Browser); | 1221 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1222 }; | 1222 }; |
| 1223 | 1223 |
| 1224 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1224 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |