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

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

Issue 155758: "Prepatch" for issue 13713 (resize tabstrip upon resizing window on... (Closed) Base URL: http://src.chromium.org/svn/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 | « no previous file | chrome/browser/cocoa/tab_strip_controller.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_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_COCOA_TAB_STRIP_CONTROLLER_H_
6 #define CHROME_BROWSER_COCOA_TAB_STRIP_CONTROLLER_H_ 6 #define CHROME_BROWSER_COCOA_TAB_STRIP_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/scoped_nsobject.h" 10 #include "base/scoped_nsobject.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // return the view at a given index 89 // return the view at a given index
90 - (NSView*)viewAtIndex:(NSUInteger)index; 90 - (NSView*)viewAtIndex:(NSUInteger)index;
91 91
92 // Set the placeholder for a dragged tab, allowing the |frame| and |strechiness| 92 // Set the placeholder for a dragged tab, allowing the |frame| and |strechiness|
93 // to be specified. This causes this tab to be rendered in an arbitrary position 93 // to be specified. This causes this tab to be rendered in an arbitrary position
94 - (void)insertPlaceholderForTab:(TabView*)tab 94 - (void)insertPlaceholderForTab:(TabView*)tab
95 frame:(NSRect)frame 95 frame:(NSRect)frame
96 yStretchiness:(CGFloat)yStretchiness; 96 yStretchiness:(CGFloat)yStretchiness;
97 97
98 // Force the tabs to rearrange themselves to reflect the current model 98 // Force the tabs to rearrange themselves to reflect the current model
99 // (with or without animations).
99 - (void)layoutTabs; 100 - (void)layoutTabs;
101 - (void)layoutTabsFast;
100 102
101 // The user changed the theme. 103 // The user changed the theme.
102 - (void)userChangedTheme; 104 - (void)userChangedTheme;
103 105
104 // Default height for tabs. 106 // Default height for tabs.
105 + (CGFloat)defaultTabHeight; 107 + (CGFloat)defaultTabHeight;
106 @end 108 @end
107 109
108 // Notification sent when the number of tabs changes. The object will be this 110 // Notification sent when the number of tabs changes. The object will be this
109 // controller. 111 // controller.
110 extern NSString* const kTabStripNumberOfTabsChanged; 112 extern NSString* const kTabStripNumberOfTabsChanged;
111 113
112 #endif // CHROME_BROWSER_COCOA_TAB_STRIP_CONTROLLER_H_ 114 #endif // CHROME_BROWSER_COCOA_TAB_STRIP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/cocoa/tab_strip_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698