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 3// found in the LICENSE file. 4 5#ifndef CHROME_BROWSER_UI_COCOA_BACKGROUND_TILE_VIEW_H_ 6#define CHROME_BROWSER_UI_COCOA_BACKGROUND_TILE_VIEW_H_ 7#pragma once 8 9#import <Cocoa/Cocoa.h> 10 11// A custom view that draws a image tiled as the background. This isn't meant 12// to be used where themes might be need, and is for other windows (about box). 13 14@interface BackgroundTileView : NSView { 15 @private 16 BOOL showsDivider_; 17 NSImage* tileImage_; 18} 19 20@property(nonatomic, retain) NSImage* tileImage; 21@end 22 23#endif // CHROME_BROWSER_UI_COCOA_BACKGROUND_TILE_VIEW_H_ 24