summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/background_tile_view.h
blob: 9a08113d15bc6eccd0a35b83531cafdd4dde0a7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) 2009 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_UI_COCOA_BACKGROUND_TILE_VIEW_H_
#define CHROME_BROWSER_UI_COCOA_BACKGROUND_TILE_VIEW_H_
#pragma once

#import <Cocoa/Cocoa.h>

// A custom view that draws a image tiled as the background.  This isn't meant
// to be used where themes might be need, and is for other windows (about box).

@interface BackgroundTileView : NSView {
 @private
  BOOL showsDivider_;
  NSImage* tileImage_;
}

@property(nonatomic, retain) NSImage* tileImage;
@end

#endif  // CHROME_BROWSER_UI_COCOA_BACKGROUND_TILE_VIEW_H_