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 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 | 724 |
725 // Overridden from TabStripModelObserver: | 725 // Overridden from TabStripModelObserver: |
726 virtual void TabInsertedAt(TabContentsWrapper* contents, | 726 virtual void TabInsertedAt(TabContentsWrapper* contents, |
727 int index, | 727 int index, |
728 bool foreground); | 728 bool foreground); |
729 virtual void TabClosingAt(TabStripModel* tab_strip_model, | 729 virtual void TabClosingAt(TabStripModel* tab_strip_model, |
730 TabContentsWrapper* contents, | 730 TabContentsWrapper* contents, |
731 int index); | 731 int index); |
732 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); | 732 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); |
733 virtual void TabDeselected(TabContentsWrapper* contents); | 733 virtual void TabDeselected(TabContentsWrapper* contents); |
734 virtual void TabSelectedAt(TabContentsWrapper* old_contents, | 734 virtual void ActiveTabChanged(TabContentsWrapper* old_contents, |
735 TabContentsWrapper* new_contents, | 735 TabContentsWrapper* new_contents, |
736 int index, | 736 int index, |
737 bool user_gesture); | 737 bool user_gesture); |
738 virtual void TabMoved(TabContentsWrapper* contents, | 738 virtual void TabMoved(TabContentsWrapper* contents, |
739 int from_index, | 739 int from_index, |
740 int to_index); | 740 int to_index); |
741 virtual void TabReplacedAt(TabStripModel* tab_strip_model, | 741 virtual void TabReplacedAt(TabStripModel* tab_strip_model, |
742 TabContentsWrapper* old_contents, | 742 TabContentsWrapper* old_contents, |
743 TabContentsWrapper* new_contents, | 743 TabContentsWrapper* new_contents, |
744 int index); | 744 int index); |
745 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index); | 745 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index); |
746 virtual void TabStripEmpty(); | 746 virtual void TabStripEmpty(); |
747 | 747 |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1222 // Helper which implements the TabRestoreServiceDelegate interface. | 1222 // Helper which implements the TabRestoreServiceDelegate interface. |
1223 scoped_ptr<BrowserTabRestoreServiceDelegate> tab_restore_service_delegate_; | 1223 scoped_ptr<BrowserTabRestoreServiceDelegate> tab_restore_service_delegate_; |
1224 | 1224 |
1225 scoped_ptr<InstantController> instant_; | 1225 scoped_ptr<InstantController> instant_; |
1226 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; | 1226 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; |
1227 | 1227 |
1228 DISALLOW_COPY_AND_ASSIGN(Browser); | 1228 DISALLOW_COPY_AND_ASSIGN(Browser); |
1229 }; | 1229 }; |
1230 | 1230 |
1231 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1231 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |