| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_MESSAGE_CENTER_COCOA_OPAQUE_VIEWS_H_ | 5 #ifndef UI_MESSAGE_CENTER_COCOA_OPAQUE_VIEWS_H_ |
| 6 #define UI_MESSAGE_CENTER_COCOA_OPAQUE_VIEWS_H_ | 6 #define UI_MESSAGE_CENTER_COCOA_OPAQUE_VIEWS_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 @private | 27 @private |
| 28 base::scoped_nsobject<NSColor> backgroundColor_; | 28 base::scoped_nsobject<NSColor> backgroundColor_; |
| 29 } | 29 } |
| 30 | 30 |
| 31 // Use this method to create the text field. The color is required so it | 31 // Use this method to create the text field. The color is required so it |
| 32 // can correctly subpixel antialias. | 32 // can correctly subpixel antialias. |
| 33 - (id)initWithFrame:(NSRect)frameRect backgroundColor:(NSColor*)color; | 33 - (id)initWithFrame:(NSRect)frameRect backgroundColor:(NSColor*)color; |
| 34 @end | 34 @end |
| 35 | 35 |
| 36 #endif // UI_MESSAGE_CENTER_COCOA_OPAQUE_VIEWS_H_ | 36 #endif // UI_MESSAGE_CENTER_COCOA_OPAQUE_VIEWS_H_ |
| OLD | NEW |