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

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

Issue 2196203002: [Mac] The infobar's top arrow should be hidden while the omnibox popup is shown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert to the patch set 1 Created 4 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 <memory> 10 #include <memory>
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // Removes the given infobar. 87 // Removes the given infobar.
88 - (void)removeInfoBar:(InfoBarCocoa*)infobar; 88 - (void)removeInfoBar:(InfoBarCocoa*)infobar;
89 89
90 // Positions the infobar views in the container view and notifies 90 // Positions the infobar views in the container view and notifies
91 // |browser_controller_| that it needs to resize the container view. 91 // |browser_controller_| that it needs to resize the container view.
92 - (void)positionInfoBarsAndRedraw:(BOOL)isAnimating; 92 - (void)positionInfoBarsAndRedraw:(BOOL)isAnimating;
93 93
94 // Set the max arrow height of the top infobar. 94 // Set the max arrow height of the top infobar.
95 - (void)setMaxTopArrowHeight:(NSInteger)height; 95 - (void)setMaxTopArrowHeight:(NSInteger)height;
96 96
97 // Returns the default max arrow height of the top infobar.
98 - (NSInteger)defaultMaxTopArrowHeight;
99
97 // The height of all the info bars. Does not include the top arrow. 100 // The height of all the info bars. Does not include the top arrow.
98 - (CGFloat)heightOfInfoBars; 101 - (CGFloat)heightOfInfoBars;
99 102
100 @end 103 @end
101 104
102 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ 105 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698