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

Side by Side Diff: chrome/browser/ui/cocoa/bubble_anchor_helper.h

Issue 2853143003: MacViews: Allows the toolkit-views Device Chooser bubble to be used (Closed)
Patch Set: MacViews: Allows the toolkit-views Device Chooser bubble to be used (nits) Created 3 years, 7 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
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/cocoa/bubble_anchor_helper.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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/Foundation.h>
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 screen coordinates at the bottom left of the location bar
16 // when location bar is present and a point near the left edge of the screen
17 // otherwise in order to 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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/cocoa/bubble_anchor_helper.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698