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

Unified Diff: chrome/browser/cocoa/background_tile_view.h

Issue 173606: Add background_tile_view for tiling an image as UI background (about box need... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/cocoa/background_tile_view.h
===================================================================
--- chrome/browser/cocoa/background_tile_view.h (revision 0)
+++ chrome/browser/cocoa/background_tile_view.h (revision 0)
@@ -0,0 +1,22 @@
+// 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_COCOA_BACKGROUND_TILE_VIEW_H_
+#define CHROME_BROWSER_COCOA_BACKGROUND_TILE_VIEW_H_
+
+#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(retain) NSImage* tileImage;
+@end
+
+#endif // CHROME_BROWSER_COCOA_BACKGROUND_TILE_VIEW_H_
Property changes on: chrome/browser/cocoa/background_tile_view.h
___________________________________________________________________
Name: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/cocoa/about_window_controller_unittest.mm ('k') | chrome/browser/cocoa/background_tile_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698