Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_COCOA_BUBBLE_ANCHOR_HELPER_H_ | |
| 6 #define CHROME_BROWSER_UI_COCOA_BUBBLE_ANCHOR_HELPER_H_ | |
| 7 | |
| 8 #import <Foundation/NSGeometry.h> | |
|
tapted
2017/05/03 09:09:11
Foundation/Foundation.h
(there's a policy to alwa
varkha
2017/05/03 09:22:40
Done.
| |
| 9 | |
| 10 class Browser; | |
| 11 | |
| 12 // Returns true if |browser| has a visible location bar. | |
| 13 bool HasVisibleLocationBarForBrowser(Browser* browser); | |
| 14 | |
| 15 // Returns a point at the bottom left of the location bar when location bar is | |
|
tapted
2017/05/03 09:09:11
Returns a point in screen coordinates...
varkha
2017/05/03 09:22:40
Done.
| |
| 16 // present and a point near the left edge of the screen otherwise in order to | |
| 17 // not obscure the fullscreen request bubble. | |
| 18 NSPoint GetPermissionBubbleAnchorPointForBrowser(Browser* browser, | |
| 19 bool has_location_bar); | |
| 20 | |
| 21 #endif // CHROME_BROWSER_UI_COCOA_BUBBLE_ANCHOR_HELPER_H_ | |
| OLD | NEW |