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

Side by Side Diff: chrome/browser/cocoa/disclosure_view_controller.h

Issue 558066: Autofill dialog for the Mac. This is UI only at this point. The UI is not h... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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) 2010 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 #ifndef CHROME_BROWSER_COCOA_DISCLOSURE_VIEW_CONTROLLER_
6 #define CHROME_BROWSER_COCOA_DISCLOSURE_VIEW_CONTROLLER_
7
8 #import <Cocoa/Cocoa.h>
9
10 @class DisclosureViewState;
11
12 // A view class that provides a disclosure triangle that controls the size
13 // of the view. Toggling the disclosure triangle animates the change in
14 // size of the view. The |openHeight| is initialized from the initial size
15 // of the view. |disclosureState| is initialized as |NSOnState| (of type
16 // NSCellStateValue) which corresponds to "open".
17 @interface DisclosureViewController : NSViewController {
18 @private
19 // The |disclosureState_| is instantiated from within |awakeFromNib|.
20 // We do not hold it as a scoped_nsobject because it is exposed as a KVO
21 // compliant property.
22 DisclosureViewState* disclosureState_; // strong reference
23 CGFloat openHeight_;
24 }
25
26 @property (nonatomic, retain) DisclosureViewState* disclosureState;
27
28 @end
29
30 #endif // CHROME_BROWSER_COCOA_DISCLOSURE_VIEW_CONTROLLER_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/credit_card.cc ('k') | chrome/browser/cocoa/disclosure_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698