OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_COCOA_BACKGROUND_TILE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_COCOA_BACKGROUND_TILE_VIEW_H_ |
6 #define CHROME_BROWSER_COCOA_BACKGROUND_TILE_VIEW_H_ | 6 #define CHROME_BROWSER_COCOA_BACKGROUND_TILE_VIEW_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 // A custom view that draws a image tiled as the background. This isn't meant | 10 // A custom view that draws a image tiled as the background. This isn't meant |
11 // to be used where themes might be need, and is for other windows (about box). | 11 // to be used where themes might be need, and is for other windows (about box). |
12 | 12 |
13 @interface BackgroundTileView : NSView { | 13 @interface BackgroundTileView : NSView { |
14 @private | 14 @private |
15 BOOL showsDivider_; | 15 BOOL showsDivider_; |
16 NSImage* tileImage_; | 16 NSImage* tileImage_; |
17 } | 17 } |
18 | 18 |
19 @property(retain) NSImage* tileImage; | 19 @property(nonatomic, retain) NSImage* tileImage; |
20 @end | 20 @end |
21 | 21 |
22 #endif // CHROME_BROWSER_COCOA_BACKGROUND_TILE_VIEW_H_ | 22 #endif // CHROME_BROWSER_COCOA_BACKGROUND_TILE_VIEW_H_ |
OLD | NEW |