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

Unified Diff: chrome/browser/cocoa/disclosure_view_controller.h

Issue 2673006: AutoFill Profiles dialog implemented according to new mocks on Mac (Closed)
Patch Set: Revisions based on review comments. Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/contact_info.cc ('k') | chrome/browser/cocoa/disclosure_view_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/disclosure_view_controller.h
diff --git a/chrome/browser/cocoa/disclosure_view_controller.h b/chrome/browser/cocoa/disclosure_view_controller.h
deleted file mode 100644
index 312f9fda6774f708e247666efe67e25576308347..0000000000000000000000000000000000000000
--- a/chrome/browser/cocoa/disclosure_view_controller.h
+++ /dev/null
@@ -1,53 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_COCOA_DISCLOSURE_VIEW_CONTROLLER_
-#define CHROME_BROWSER_COCOA_DISCLOSURE_VIEW_CONTROLLER_
-
-#import <Cocoa/Cocoa.h>
-#include "base/scoped_nsobject.h"
-
-@class DisclosureViewState;
-@class NSViewAnimation;
-
-// A view class that provides a disclosure triangle that controls the size
-// of the view. Toggling the disclosure triangle animates the change in
-// size of the view. The |openHeight| is initialized from the initial size
-// of the view. |disclosureState| is initialized as |NSOnState| (of type
-// NSCellStateValue) which corresponds to "open".
-@interface DisclosureViewController : NSViewController {
- @private
- // The |detailedView_| IBOutlet references the content that becomes visible
- // when the disclosure view is in the "open" state. We hold a reference
- // to the content so that we can hide and show it when disclosure state
- // changes.
- IBOutlet NSBox* detailedView_; // weak reference
-
- // The |disclosureState_| is instantiated from within |awakeFromNib|.
- // We do not hold it as a scoped_nsobject because it is exposed as a KVO
- // compliant property.
- DisclosureViewState* disclosureState_; // strong reference
-
- // Open height determines the height of the disclosed view. This value
- // is derived from the initial height specified in the nib.
- CGFloat openHeight_;
-
- // Value passed in to the designated initializer. Used to set up
- // initial view state when we |awakeFromNib|.
- NSCellStateValue initialDisclosureState_;
-
- // Animation object for view disclosure transitions.
- scoped_nsobject<NSViewAnimation> animation_;
-}
-
-@property (nonatomic, retain) DisclosureViewState* disclosureState;
-
-// Designated initializer. Sets the initial disclosure state.
-- (id)initWithNibName:(NSString *)nibNameOrNil
- bundle:(NSBundle *)nibBundleOrNil
- disclosure:(NSCellStateValue)disclosureState;
-
-@end
-
-#endif // CHROME_BROWSER_COCOA_DISCLOSURE_VIEW_CONTROLLER_
« no previous file with comments | « chrome/browser/autofill/contact_info.cc ('k') | chrome/browser/cocoa/disclosure_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698