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

Side by Side Diff: chrome/browser/cocoa/section_separator_view.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 unified diff | Download patch
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_SECTION_SEPARATOR_VIEW_
6 #define CHROME_BROWSER_COCOA_SECTION_SEPARATOR_VIEW_
7
8 #import <Cocoa/Cocoa.h>
9
10 // A view class that renders a gradient "section" separator. The visual
11 // style is modelled similarly to iPhone table view separators. This view
12 // paints a simple top-to-bottom gradient in its bounds of fixed gray values.
13 // Optionally, it also paints a "topline" and "baseline". Default is to
14 // draw both topline and baseline, but these can be overridden.
15 // The user of the class can override the color of the base line and top line
16 // using the |baselineSeparatorColor| and |toplineSeparatorColor| properties.
17 @interface SectionSeparatorView : NSView {
18 @private
19 BOOL showBaseLine_;
20 NSColor* baselineSeparatorColor_;
21 BOOL showTopLine_;
22 NSColor* toplineSeparatorColor_;
23 }
24
25 @property (nonatomic, assign) BOOL showBaseLine;
26 @property (nonatomic, retain) NSColor* baselineSeparatorColor;
27 @property (nonatomic, assign) BOOL showTopLine;
28 @property (nonatomic, retain) NSColor* toplineSeparatorColor;
29
30 @end
31
32 #endif // CHROME_BROWSER_COCOA_SECTION_SEPARATOR_VIEW_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/disclosure_view_controller_unittest.mm ('k') | chrome/browser/cocoa/section_separator_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698