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

Side by Side Diff: chrome/browser/cocoa/section_separator_view.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_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/preferences_window_controller.mm ('k') | chrome/browser/cocoa/section_separator_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698