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 #ifndef CHROME_BROWSER_UI_COCOA_CONFIRM_BUBBLE_COCOA_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_CONFIRM_BUBBLE_COCOA_H_ |
6 #define CHROME_BROWSER_UI_COCOA_CONFIRM_BUBBLE_COCOA_H_ | 6 #define CHROME_BROWSER_UI_COCOA_CONFIRM_BUBBLE_COCOA_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #import "base/mac/cocoa_protocols.h" | |
11 #include "base/memory/scoped_nsobject.h" | 10 #include "base/memory/scoped_nsobject.h" |
12 | 11 |
13 @class ConfirmBubbleController; | 12 @class ConfirmBubbleController; |
14 class ConfirmBubbleModel; | 13 class ConfirmBubbleModel; |
15 | 14 |
16 // A view class that implements a bubble consisting of the following items: | 15 // A view class that implements a bubble consisting of the following items: |
17 // * one icon ("icon") | 16 // * one icon ("icon") |
18 // * one title text ("title") | 17 // * one title text ("title") |
19 // * one message text ("message") | 18 // * one message text ("message") |
20 // * one optional link ("link") | 19 // * one optional link ("link") |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 @end | 53 @end |
55 | 54 |
56 // Exposed only for unit testing. | 55 // Exposed only for unit testing. |
57 @interface ConfirmBubbleCocoa (ExposedForUnitTesting) | 56 @interface ConfirmBubbleCocoa (ExposedForUnitTesting) |
58 - (void)clickOk; | 57 - (void)clickOk; |
59 - (void)clickCancel; | 58 - (void)clickCancel; |
60 - (void)clickLink; | 59 - (void)clickLink; |
61 @end | 60 @end |
62 | 61 |
63 #endif // CHROME_BROWSER_UI_COCOA_CONFIRM_BUBBLE_COCOA_H_ | 62 #endif // CHROME_BROWSER_UI_COCOA_CONFIRM_BUBBLE_COCOA_H_ |
OLD | NEW |