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

Side by Side Diff: chrome/browser/ui/cocoa/infobars/infobar_container_controller.h

Issue 435863002: Fix some infobar problems. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 6 years, 4 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 - (void)addInfoBar:(InfoBarCocoa*)infobar 85 - (void)addInfoBar:(InfoBarCocoa*)infobar
86 position:(NSUInteger)position; 86 position:(NSUInteger)position;
87 87
88 // Removes the given infobar. 88 // Removes the given infobar.
89 - (void)removeInfoBar:(InfoBarCocoa*)infobar; 89 - (void)removeInfoBar:(InfoBarCocoa*)infobar;
90 90
91 // Positions the infobar views in the container view and notifies 91 // Positions the infobar views in the container view and notifies
92 // |browser_controller_| that it needs to resize the container view. 92 // |browser_controller_| that it needs to resize the container view.
93 - (void)positionInfoBarsAndRedraw:(BOOL)isAnimating; 93 - (void)positionInfoBarsAndRedraw:(BOOL)isAnimating;
94 94
95 // Set the max arrow height of the top infobar.
96 - (void)setMaxTopArrowHeight:(int)height;
Robert Sesek 2014/08/07 18:12:54 Use NSInteger, for consistency with -defaultArrowH
97
98 // Get the default arrow height.
99 - (NSInteger)defaultArrowHeight;
100
95 @end 101 @end
96 102
97 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ 103 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698