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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
OLDNEW
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 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
11 11
12 @class ConfirmBubbleController; 12 @class ConfirmBubbleController;
13 class ConfirmBubbleModel;
14 13
15 // A view class that implements a bubble consisting of the following items: 14 // A view class that implements a bubble consisting of the following items:
16 // * one icon ("icon") 15 // * one icon ("icon")
17 // * one title text ("title") 16 // * one title text ("title")
18 // * one message text ("message") 17 // * one message text ("message")
19 // * one optional link ("link") 18 // * one optional link ("link")
20 // * two optional buttons ("ok" and "cancel") 19 // * two optional buttons ("ok" and "cancel")
21 // 20 //
22 // This bubble is convenient when we wish to ask transient, non-blocking 21 // This bubble is convenient when we wish to ask transient, non-blocking
23 // questions. Unlike a dialog, a bubble menu disappears when we click outside of 22 // questions. Unlike a dialog, a bubble menu disappears when we click outside of
(...skipping 29 matching lines...) Expand all
53 @end 52 @end
54 53
55 // Exposed only for unit testing. 54 // Exposed only for unit testing.
56 @interface ConfirmBubbleCocoa (ExposedForUnitTesting) 55 @interface ConfirmBubbleCocoa (ExposedForUnitTesting)
57 - (void)clickOk; 56 - (void)clickOk;
58 - (void)clickCancel; 57 - (void)clickCancel;
59 - (void)clickLink; 58 - (void)clickLink;
60 @end 59 @end
61 60
62 #endif // CHROME_BROWSER_UI_COCOA_CONFIRM_BUBBLE_COCOA_H_ 61 #endif // CHROME_BROWSER_UI_COCOA_CONFIRM_BUBBLE_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_utils.h ('k') | chrome/browser/ui/cocoa/download/download_shelf_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698