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_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 | 7 |
8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 virtual ~TabStripModelObserverBridge(); | 27 virtual ~TabStripModelObserverBridge(); |
28 | 28 |
29 // Overridden from TabStripModelObserver | 29 // Overridden from TabStripModelObserver |
30 virtual void TabInsertedAt(content::WebContents* contents, | 30 virtual void TabInsertedAt(content::WebContents* contents, |
31 int index, | 31 int index, |
32 bool foreground) OVERRIDE; | 32 bool foreground) OVERRIDE; |
33 virtual void TabClosingAt(TabStripModel* tab_strip_model, | 33 virtual void TabClosingAt(TabStripModel* tab_strip_model, |
34 content::WebContents* contents, | 34 content::WebContents* contents, |
35 int index) OVERRIDE; | 35 int index) OVERRIDE; |
36 virtual void TabDetachedAt(content::WebContents* contents, | 36 virtual void TabDetachedAt(content::WebContents* contents, |
37 int index) OVERRIDE; | 37 int index, |
| 38 bool closing_all) OVERRIDE; |
38 virtual void TabDeactivated(content::WebContents* contents) OVERRIDE; | 39 virtual void TabDeactivated(content::WebContents* contents) OVERRIDE; |
39 virtual void ActiveTabChanged(content::WebContents* old_contents, | 40 virtual void ActiveTabChanged(content::WebContents* old_contents, |
40 content::WebContents* new_contents, | 41 content::WebContents* new_contents, |
41 int index, | 42 int index, |
42 int reason) OVERRIDE; | 43 int reason) OVERRIDE; |
43 virtual void TabMoved(content::WebContents* contents, | 44 virtual void TabMoved(content::WebContents* contents, |
44 int from_index, | 45 int from_index, |
45 int to_index) OVERRIDE; | 46 int to_index) OVERRIDE; |
46 virtual void TabChangedAt(content::WebContents* contents, | 47 virtual void TabChangedAt(content::WebContents* contents, |
47 int index, | 48 int index, |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 - (void)tabReplacedWithContents:(content::WebContents*)newContents | 86 - (void)tabReplacedWithContents:(content::WebContents*)newContents |
86 previousContents:(content::WebContents*)oldContents | 87 previousContents:(content::WebContents*)oldContents |
87 atIndex:(NSInteger)index; | 88 atIndex:(NSInteger)index; |
88 - (void)tabMiniStateChangedWithContents:(content::WebContents*)contents | 89 - (void)tabMiniStateChangedWithContents:(content::WebContents*)contents |
89 atIndex:(NSInteger)index; | 90 atIndex:(NSInteger)index; |
90 - (void)tabStripEmpty; | 91 - (void)tabStripEmpty; |
91 - (void)tabStripModelDeleted; | 92 - (void)tabStripModelDeleted; |
92 @end | 93 @end |
93 | 94 |
94 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ | 95 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ |
OLD | NEW |