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_COCOA_TABS_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ |
6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #import <Foundation/Foundation.h> | 9 #import <Foundation/Foundation.h> |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 virtual ~TabStripModelObserverBridge(); | 24 virtual ~TabStripModelObserverBridge(); |
25 | 25 |
26 // Overridden from TabStripModelObserver | 26 // Overridden from TabStripModelObserver |
27 virtual void TabInsertedAt(TabContentsWrapper* contents, | 27 virtual void TabInsertedAt(TabContentsWrapper* contents, |
28 int index, | 28 int index, |
29 bool foreground); | 29 bool foreground); |
30 virtual void TabClosingAt(TabStripModel* tab_strip_model, | 30 virtual void TabClosingAt(TabStripModel* tab_strip_model, |
31 TabContentsWrapper* contents, | 31 TabContentsWrapper* contents, |
32 int index); | 32 int index); |
33 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); | 33 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); |
34 virtual void TabSelectedAt(TabContentsWrapper* old_contents, | 34 virtual void ActiveTabChanged(TabContentsWrapper* old_contents, |
35 TabContentsWrapper* new_contents, | 35 TabContentsWrapper* new_contents, |
36 int index, | 36 int index, |
37 bool user_gesture); | 37 bool user_gesture); |
38 virtual void TabMoved(TabContentsWrapper* contents, | 38 virtual void TabMoved(TabContentsWrapper* contents, |
39 int from_index, | 39 int from_index, |
40 int to_index); | 40 int to_index); |
41 virtual void TabChangedAt(TabContentsWrapper* contents, int index, | 41 virtual void TabChangedAt(TabContentsWrapper* contents, int index, |
42 TabChangeType change_type); | 42 TabChangeType change_type); |
43 virtual void TabReplacedAt(TabStripModel* tab_strip_model, | 43 virtual void TabReplacedAt(TabStripModel* tab_strip_model, |
44 TabContentsWrapper* old_contents, | 44 TabContentsWrapper* old_contents, |
45 TabContentsWrapper* new_contents, | 45 TabContentsWrapper* new_contents, |
46 int index); | 46 int index); |
47 virtual void TabMiniStateChanged(TabContentsWrapper* contents, int index); | 47 virtual void TabMiniStateChanged(TabContentsWrapper* contents, int index); |
(...skipping 29 matching lines...) Expand all Loading... |
77 - (void)tabReplacedWithContents:(TabContentsWrapper*)newContents | 77 - (void)tabReplacedWithContents:(TabContentsWrapper*)newContents |
78 previousContents:(TabContentsWrapper*)oldContents | 78 previousContents:(TabContentsWrapper*)oldContents |
79 atIndex:(NSInteger)index; | 79 atIndex:(NSInteger)index; |
80 - (void)tabMiniStateChangedWithContents:(TabContentsWrapper*)contents | 80 - (void)tabMiniStateChangedWithContents:(TabContentsWrapper*)contents |
81 atIndex:(NSInteger)index; | 81 atIndex:(NSInteger)index; |
82 - (void)tabStripEmpty; | 82 - (void)tabStripEmpty; |
83 - (void)tabStripModelDeleted; | 83 - (void)tabStripModelDeleted; |
84 @end | 84 @end |
85 | 85 |
86 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ | 86 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ |
OLD | NEW |