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

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

Issue 10392108: Only close popup bubble when a tab switch happens. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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) 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_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // "switched" every time the user switches tabs. The children of this view 154 // "switched" every time the user switches tabs. The children of this view
155 // will be released, so if you want them to stay around, make sure 155 // will be released, so if you want them to stay around, make sure
156 // you have retained them. 156 // you have retained them.
157 // |delegate| is the one listening to filtered TabStripModelObserverBridge's 157 // |delegate| is the one listening to filtered TabStripModelObserverBridge's
158 // events (see TabStripControllerDelegate for more details). 158 // events (see TabStripControllerDelegate for more details).
159 - (id)initWithView:(TabStripView*)view 159 - (id)initWithView:(TabStripView*)view
160 switchView:(NSView*)switchView 160 switchView:(NSView*)switchView
161 browser:(Browser*)browser 161 browser:(Browser*)browser
162 delegate:(id<TabStripControllerDelegate>)delegate; 162 delegate:(id<TabStripControllerDelegate>)delegate;
163 163
164 // Returns the model behind this controller.
165 - (TabStripModel*)tabStripModel;
166
164 // Return the view for the currently active tab. 167 // Return the view for the currently active tab.
165 - (NSView*)activeTabView; 168 - (NSView*)activeTabView;
166 169
167 // Set the frame of the active tab, also updates the internal frame dict. 170 // Set the frame of the active tab, also updates the internal frame dict.
168 - (void)setFrameOfActiveTab:(NSRect)frame; 171 - (void)setFrameOfActiveTab:(NSRect)frame;
169 172
170 // Move the given tab at index |from| in this window to the location of the 173 // Move the given tab at index |from| in this window to the location of the
171 // current placeholder. 174 // current placeholder.
172 - (void)moveTabFromIndex:(NSInteger)from; 175 - (void)moveTabFromIndex:(NSInteger)from;
173 176
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 - (TabContentsController*)activeTabContentsController; 254 - (TabContentsController*)activeTabContentsController;
252 255
253 // See comments in browser_window_controller.h for documentation about these 256 // See comments in browser_window_controller.h for documentation about these
254 // functions. 257 // functions.
255 - (void)attachConstrainedWindow:(ConstrainedWindowMac*)window; 258 - (void)attachConstrainedWindow:(ConstrainedWindowMac*)window;
256 - (void)removeConstrainedWindow:(ConstrainedWindowMac*)window; 259 - (void)removeConstrainedWindow:(ConstrainedWindowMac*)window;
257 260
258 @end 261 @end
259 262
260 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_ 263 #endif // CHROME_BROWSER_UI_COCOA_TABS_TAB_STRIP_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698