Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Side by Side Diff: chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h

Issue 11359201: Remove TabContents from TabStripModelObserver::TabReplacedAt. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_tabrestore.cc ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698