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

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

Issue 6155003: Changes instant so that the newly created tab has a new id. Doing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_
6 #define CHROME_BROWSER_UI_COCOA_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ 6 #define CHROME_BROWSER_UI_COCOA_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Foundation/Foundation.h> 9 #import <Foundation/Foundation.h>
10 10
(...skipping 22 matching lines...) Expand all
33 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); 33 virtual void TabDetachedAt(TabContentsWrapper* contents, int index);
34 virtual void TabSelectedAt(TabContentsWrapper* old_contents, 34 virtual void TabSelectedAt(TabContentsWrapper* old_contents,
35 TabContentsWrapper* new_contents, 35 TabContentsWrapper* new_contents,
36 int index, 36 int index,
37 bool user_gesture); 37 bool user_gesture);
38 virtual void TabMoved(TabContentsWrapper* contents, 38 virtual void TabMoved(TabContentsWrapper* contents,
39 int from_index, 39 int from_index,
40 int to_index); 40 int to_index);
41 virtual void TabChangedAt(TabContentsWrapper* contents, int index, 41 virtual void TabChangedAt(TabContentsWrapper* contents, int index,
42 TabChangeType change_type); 42 TabChangeType change_type);
43 virtual void TabReplacedAt(TabContentsWrapper* old_contents, 43 virtual void TabReplacedAt(TabStripModel* tab_strip_model,
44 TabContentsWrapper* old_contents,
44 TabContentsWrapper* new_contents, 45 TabContentsWrapper* new_contents,
45 int index); 46 int index);
46 virtual void TabMiniStateChanged(TabContentsWrapper* contents, int index); 47 virtual void TabMiniStateChanged(TabContentsWrapper* contents, int index);
47 virtual void TabStripEmpty(); 48 virtual void TabStripEmpty();
48 virtual void TabStripModelDeleted(); 49 virtual void TabStripModelDeleted();
49 50
50 private: 51 private:
51 id controller_; // weak, owns me 52 id controller_; // weak, owns me
52 TabStripModel* model_; // weak, owned by Browser 53 TabStripModel* model_; // weak, owned by Browser
53 }; 54 };
(...skipping 22 matching lines...) Expand all
76 - (void)tabReplacedWithContents:(TabContentsWrapper*)newContents 77 - (void)tabReplacedWithContents:(TabContentsWrapper*)newContents
77 previousContents:(TabContentsWrapper*)oldContents 78 previousContents:(TabContentsWrapper*)oldContents
78 atIndex:(NSInteger)index; 79 atIndex:(NSInteger)index;
79 - (void)tabMiniStateChangedWithContents:(TabContentsWrapper*)contents 80 - (void)tabMiniStateChangedWithContents:(TabContentsWrapper*)contents
80 atIndex:(NSInteger)index; 81 atIndex:(NSInteger)index;
81 - (void)tabStripEmpty; 82 - (void)tabStripEmpty;
82 - (void)tabStripModelDeleted; 83 - (void)tabStripModelDeleted;
83 @end 84 @end
84 85
85 #endif // CHROME_BROWSER_UI_COCOA_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_ 86 #endif // CHROME_BROWSER_UI_COCOA_TAB_STRIP_MODEL_OBSERVER_BRIDGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/tab_strip_model_observer_bridge.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698