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

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

Issue 155441: Nukes the 3 arg TabMoved variant in favor of the 4 arg variant.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 months 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
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/cocoa/tab_strip_model_observer_bridge.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_COCOA_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ 5 #ifndef CHROME_BROWSER_COCOA_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_
6 #define CHROME_BROWSER_COCOA_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ 6 #define CHROME_BROWSER_COCOA_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #include "chrome/browser/tabs/tab_strip_model.h" 10 #include "chrome/browser/tabs/tab_strip_model.h"
(...skipping 15 matching lines...) Expand all
26 int index, 26 int index,
27 bool foreground); 27 bool foreground);
28 virtual void TabClosingAt(TabContents* contents, int index); 28 virtual void TabClosingAt(TabContents* contents, int index);
29 virtual void TabDetachedAt(TabContents* contents, int index); 29 virtual void TabDetachedAt(TabContents* contents, int index);
30 virtual void TabSelectedAt(TabContents* old_contents, 30 virtual void TabSelectedAt(TabContents* old_contents,
31 TabContents* new_contents, 31 TabContents* new_contents,
32 int index, 32 int index,
33 bool user_gesture); 33 bool user_gesture);
34 virtual void TabMoved(TabContents* contents, 34 virtual void TabMoved(TabContents* contents,
35 int from_index, 35 int from_index,
36 int to_index); 36 int to_index,
37 bool pinned_state_changed);
37 virtual void TabChangedAt(TabContents* contents, int index, 38 virtual void TabChangedAt(TabContents* contents, int index,
38 bool loading_only); 39 bool loading_only);
39 virtual void TabStripEmpty(); 40 virtual void TabStripEmpty();
40 41
41 private: 42 private:
42 id controller_; // weak, owns me 43 id controller_; // weak, owns me
43 TabStripModel* model_; // weak, owned by Browser 44 TabStripModel* model_; // weak, owned by Browser
44 }; 45 };
45 46
46 // A collection of methods which can be selectively implemented by any 47 // A collection of methods which can be selectively implemented by any
(...skipping 14 matching lines...) Expand all
61 - (void)tabMovedWithContents:(TabContents*)contents 62 - (void)tabMovedWithContents:(TabContents*)contents
62 fromIndex:(NSInteger)from 63 fromIndex:(NSInteger)from
63 toIndex:(NSInteger)to; 64 toIndex:(NSInteger)to;
64 - (void)tabChangedWithContents:(TabContents*)contents 65 - (void)tabChangedWithContents:(TabContents*)contents
65 atIndex:(NSInteger)index 66 atIndex:(NSInteger)index
66 loadingOnly:(BOOL)loading; 67 loadingOnly:(BOOL)loading;
67 - (void)tabStripEmpty; 68 - (void)tabStripEmpty;
68 @end 69 @end
69 70
70 #endif // CHROME_BROWSER_COCOA_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ 71 #endif // CHROME_BROWSER_COCOA_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/cocoa/tab_strip_model_observer_bridge.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698