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_DEFAULT_TAB_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_ |
6 #define CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_ | 6 #define CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "chrome/browser/tabs/tab_handler.h" | 10 #include "chrome/browser/tabs/tab_handler.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 int index); | 64 int index); |
65 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); | 65 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); |
66 virtual void TabDeselectedAt(TabContentsWrapper* contents, int index); | 66 virtual void TabDeselectedAt(TabContentsWrapper* contents, int index); |
67 virtual void TabSelectedAt(TabContentsWrapper* old_contents, | 67 virtual void TabSelectedAt(TabContentsWrapper* old_contents, |
68 TabContentsWrapper* new_contents, | 68 TabContentsWrapper* new_contents, |
69 int index, | 69 int index, |
70 bool user_gesture); | 70 bool user_gesture); |
71 virtual void TabMoved(TabContentsWrapper* contents, | 71 virtual void TabMoved(TabContentsWrapper* contents, |
72 int from_index, | 72 int from_index, |
73 int to_index); | 73 int to_index); |
74 virtual void TabReplacedAt(TabContentsWrapper* old_contents, | 74 virtual void TabReplacedAt(TabStripModel* tab_strip_model, |
| 75 TabContentsWrapper* old_contents, |
75 TabContentsWrapper* new_contents, | 76 TabContentsWrapper* new_contents, |
76 int index); | 77 int index); |
77 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index); | 78 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index); |
78 virtual void TabStripEmpty(); | 79 virtual void TabStripEmpty(); |
79 | 80 |
80 private: | 81 private: |
81 TabHandlerDelegate* delegate_; | 82 TabHandlerDelegate* delegate_; |
82 | 83 |
83 scoped_ptr<TabStripModel> model_; | 84 scoped_ptr<TabStripModel> model_; |
84 | 85 |
85 DISALLOW_COPY_AND_ASSIGN(DefaultTabHandler); | 86 DISALLOW_COPY_AND_ASSIGN(DefaultTabHandler); |
86 }; | 87 }; |
87 | 88 |
88 #endif // CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_ | 89 #endif // CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_ |
89 | 90 |
OLD | NEW |