| 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 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 // Overridden from TabStripModelObserver | 30 // Overridden from TabStripModelObserver |
| 31 virtual void TabInsertedAt(content::WebContents* contents, | 31 virtual void TabInsertedAt(content::WebContents* contents, |
| 32 int index, | 32 int index, |
| 33 bool foreground) OVERRIDE; | 33 bool foreground) OVERRIDE; |
| 34 virtual void TabClosingAt(TabStripModel* tab_strip_model, | 34 virtual void TabClosingAt(TabStripModel* tab_strip_model, |
| 35 content::WebContents* contents, | 35 content::WebContents* contents, |
| 36 int index) OVERRIDE; | 36 int index) OVERRIDE; |
| 37 virtual void TabDetachedAt(content::WebContents* contents, | 37 virtual void TabDetachedAt(content::WebContents* contents, |
| 38 int index) OVERRIDE; | 38 int index) OVERRIDE; |
| 39 virtual void ActiveTabChanged(TabContents* old_contents, | 39 virtual void ActiveTabChanged(content::WebContents* old_contents, |
| 40 TabContents* new_contents, | 40 content::WebContents* new_contents, |
| 41 int index, | 41 int index, |
| 42 bool user_gesture) OVERRIDE; | 42 bool user_gesture) OVERRIDE; |
| 43 virtual void TabMoved(TabContents* contents, | 43 virtual void TabMoved(TabContents* contents, |
| 44 int from_index, | 44 int from_index, |
| 45 int to_index) OVERRIDE; | 45 int to_index) OVERRIDE; |
| 46 virtual void TabChangedAt(TabContents* contents, int index, | 46 virtual void TabChangedAt(TabContents* contents, int index, |
| 47 TabChangeType change_type) OVERRIDE; | 47 TabChangeType change_type) OVERRIDE; |
| 48 virtual void TabReplacedAt(TabStripModel* tab_strip_model, | 48 virtual void TabReplacedAt(TabStripModel* tab_strip_model, |
| 49 TabContents* old_contents, | 49 TabContents* old_contents, |
| 50 TabContents* new_contents, | 50 TabContents* new_contents, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 - (void)tabReplacedWithContents:(content::WebContents*)newContents | 83 - (void)tabReplacedWithContents:(content::WebContents*)newContents |
| 84 previousContents:(content::WebContents*)oldContents | 84 previousContents:(content::WebContents*)oldContents |
| 85 atIndex:(NSInteger)index; | 85 atIndex:(NSInteger)index; |
| 86 - (void)tabMiniStateChangedWithContents:(content::WebContents*)contents | 86 - (void)tabMiniStateChangedWithContents:(content::WebContents*)contents |
| 87 atIndex:(NSInteger)index; | 87 atIndex:(NSInteger)index; |
| 88 - (void)tabStripEmpty; | 88 - (void)tabStripEmpty; |
| 89 - (void)tabStripModelDeleted; | 89 - (void)tabStripModelDeleted; |
| 90 @end | 90 @end |
| 91 | 91 |
| 92 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ | 92 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ |
| OLD | NEW |