OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
6 | 6 |
7 #include "base/mac/scoped_nsobject.h" | 7 #include "base/mac/scoped_nsobject.h" |
8 #include "chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h" | 8 #include "chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h" |
9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 url:(const GURL&)url | 50 url:(const GURL&)url |
51 bubbleType:(ExclusiveAccessBubbleType)bubbleType; | 51 bubbleType:(ExclusiveAccessBubbleType)bubbleType; |
52 | 52 |
53 - (void)allow:(id)sender; | 53 - (void)allow:(id)sender; |
54 - (void)deny:(id)sender; | 54 - (void)deny:(id)sender; |
55 | 55 |
56 - (void)showWindow; | 56 - (void)showWindow; |
57 - (void)closeImmediately; | 57 - (void)closeImmediately; |
58 | 58 |
59 // Positions the exclusive access bubble in the top-center of the window. | 59 // Positions the exclusive access bubble in the top-center of the window. |
60 - (void)positionInWindowAtTop:(CGFloat)maxY width:(CGFloat)maxWidth; | 60 - (void)positionInWindowAtTop:(CGFloat)maxY; |
61 | 61 |
62 @end | 62 @end |
OLD | NEW |