| 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 29 matching lines...) Expand all Loading... |
| 40 content::WebContents* 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(content::WebContents* contents, | 43 virtual void TabMoved(content::WebContents* contents, |
| 44 int from_index, | 44 int from_index, |
| 45 int to_index) OVERRIDE; | 45 int to_index) OVERRIDE; |
| 46 virtual void TabChangedAt(content::WebContents* contents, | 46 virtual void TabChangedAt(content::WebContents* contents, |
| 47 int index, | 47 int index, |
| 48 TabChangeType change_type) OVERRIDE; | 48 TabChangeType change_type) OVERRIDE; |
| 49 virtual void TabReplacedAt(TabStripModel* tab_strip_model, | 49 virtual void TabReplacedAt(TabStripModel* tab_strip_model, |
| 50 TabContents* old_contents, | 50 content::WebContents* old_contents, |
| 51 TabContents* new_contents, | 51 content::WebContents* new_contents, |
| 52 int index) OVERRIDE; | 52 int index) OVERRIDE; |
| 53 virtual void TabMiniStateChanged(content::WebContents* contents, | 53 virtual void TabMiniStateChanged(content::WebContents* contents, |
| 54 int index) OVERRIDE; | 54 int index) OVERRIDE; |
| 55 virtual void TabStripEmpty() OVERRIDE; | 55 virtual void TabStripEmpty() OVERRIDE; |
| 56 virtual void TabStripModelDeleted() OVERRIDE; | 56 virtual void TabStripModelDeleted() OVERRIDE; |
| 57 | 57 |
| 58 private: | 58 private: |
| 59 id controller_; // weak, owns me | 59 id controller_; // weak, owns me |
| 60 TabStripModel* model_; // weak, owned by Browser | 60 TabStripModel* model_; // weak, owned by Browser |
| 61 }; | 61 }; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 84 - (void)tabReplacedWithContents:(content::WebContents*)newContents | 84 - (void)tabReplacedWithContents:(content::WebContents*)newContents |
| 85 previousContents:(content::WebContents*)oldContents | 85 previousContents:(content::WebContents*)oldContents |
| 86 atIndex:(NSInteger)index; | 86 atIndex:(NSInteger)index; |
| 87 - (void)tabMiniStateChangedWithContents:(content::WebContents*)contents | 87 - (void)tabMiniStateChangedWithContents:(content::WebContents*)contents |
| 88 atIndex:(NSInteger)index; | 88 atIndex:(NSInteger)index; |
| 89 - (void)tabStripEmpty; | 89 - (void)tabStripEmpty; |
| 90 - (void)tabStripModelDeleted; | 90 - (void)tabStripModelDeleted; |
| 91 @end | 91 @end |
| 92 | 92 |
| 93 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ | 93 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ |
| OLD | NEW |