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_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_CONFIRM_BUBBLE_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_CONFIRM_BUBBLE_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_CONFIRM_BUBBLE_CONTROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 // also converts C++ types returned by the ConfirmBubbleModel object to | 32 // also converts C++ types returned by the ConfirmBubbleModel object to |
33 // Objective-C types. | 33 // Objective-C types. |
34 - (NSPoint)origin; | 34 - (NSPoint)origin; |
35 - (NSString*)title; | 35 - (NSString*)title; |
36 - (NSString*)messageText; | 36 - (NSString*)messageText; |
37 - (NSString*)linkText; | 37 - (NSString*)linkText; |
38 - (NSString*)okButtonText; | 38 - (NSString*)okButtonText; |
39 - (NSString*)cancelButtonText; | 39 - (NSString*)cancelButtonText; |
40 - (BOOL)hasOkButton; | 40 - (BOOL)hasOkButton; |
41 - (BOOL)hasCancelButton; | 41 - (BOOL)hasCancelButton; |
42 - (NSImage*)icon; | |
43 | 42 |
44 // Handle actions from the ConfirmBubbleCocoa objet. | 43 // Handle actions from the ConfirmBubbleCocoa objet. |
45 - (void)accept; | 44 - (void)accept; |
46 - (void)cancel; | 45 - (void)cancel; |
47 - (void)linkClicked; | 46 - (void)linkClicked; |
48 | 47 |
49 @end | 48 @end |
50 | 49 |
51 #endif // CHROME_BROWSER_UI_COCOA_CONFIRM_BUBBLE_CONTROLLER_H_ | 50 #endif // CHROME_BROWSER_UI_COCOA_CONFIRM_BUBBLE_CONTROLLER_H_ |
OLD | NEW |