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

Side by Side Diff: chrome/browser/ui/cocoa/constrained_window/cw_alert.h

Issue 10870094: Constrained window sheet controller (test patch) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #import <Cocoa/Cocoa.h>
6
7 #include "base/memory/scoped_nsobject.h"
8
9 @interface CWAlert : NSObject {
10 scoped_nsobject<NSTextField> informativeTextField_;
11 scoped_nsobject<NSTextField> messageTextField_;
12 scoped_nsobject<NSView> accessoryView_;
13 scoped_nsobject<NSMutableArray> buttons_;
14 scoped_nsobject<NSButton> closeButton_;
15 scoped_nsobject<NSWindow> window_;
16 }
17
18 @property(nonatomic, retain) NSString* informativeText;
19 @property(nonatomic, retain) NSString* messageText;
20 @property(nonatomic, retain) NSView* accessoryView;
21 @property(nonatomic, readonly) NSArray* buttons;
22 @property(nonatomic, readonly) NSButton* closeButton;
23 @property(nonatomic, readonly) NSWindow* window;
24
25 - (id)init;
26
27 - (void)addButtonWithTitle:(NSString*)title
28 keyEquivalent:(NSString*)keyEquivalent;
29
30 - (void)layout;
31
32 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698