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

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

Issue 354008: [Mac] Enables animations for the infobar.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « chrome/browser/cocoa/infobar_controller_unittest.mm ('k') | no next file » | 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_VIEW_RESIZER_H_ 5 #ifndef CHROME_BROWSER_COCOA_VIEW_RESIZER_H_
6 #define CHROME_BROWSER_COCOA_VIEW_RESIZER_H_ 6 #define CHROME_BROWSER_COCOA_VIEW_RESIZER_H_
7 7
8 #include "chrome/browser/tabs/tab_strip_model.h" 8 #include "chrome/browser/tabs/tab_strip_model.h"
9 9
10 #import <Cocoa/Cocoa.h> 10 #import <Cocoa/Cocoa.h>
11 11
12 // Defines a protocol that allows controllers to delegate resizing their views 12 // Defines a protocol that allows controllers to delegate resizing their views
13 // to their parents. When a controller needs to change a view's height, rather 13 // to their parents. When a controller needs to change a view's height, rather
14 // than resizing it directly, it sends a message to its parent asking the parent 14 // than resizing it directly, it sends a message to its parent asking the parent
15 // to perform the resize. This allows the parent to do any re-layout that may 15 // to perform the resize. This allows the parent to do any re-layout that may
16 // become necessary due to the resize. 16 // become necessary due to the resize.
17 @protocol ViewResizer 17 @protocol ViewResizer <NSObject>
18 - (void)resizeView:(NSView*)view newHeight:(float)height; 18 - (void)resizeView:(NSView*)view newHeight:(float)height;
19 @end 19 @end
20 20
21 #endif // CHROME_BROWSER_COCOA_VIEW_RESIZER_H_ 21 #endif // CHROME_BROWSER_COCOA_VIEW_RESIZER_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/infobar_controller_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698