Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_CELL_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_CELL_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_CELL_H_ | 6 #define CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_CELL_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/mac/scoped_nsobject.h" | |
|
Scott Hess - ex-Googler
2013/12/12 19:11:15
This doesn't appear to be needed?
Anuj
2013/12/12 23:56:22
Done.
| |
| 11 | |
| 10 // OmniboxPopupCell overrides how backgrounds are displayed to | 12 // OmniboxPopupCell overrides how backgrounds are displayed to |
| 11 // handle hover versus selected. So long as we're in there, it also | 13 // handle hover versus selected. So long as we're in there, it also |
| 12 // provides some default initialization. | 14 // provides some default initialization. |
| 13 @interface OmniboxPopupCell : NSButtonCell { | 15 @interface OmniboxPopupCell : NSButtonCell { |
| 16 @private | |
| 17 CGFloat additionalOffset_; | |
| 14 } | 18 } |
| 19 @property CGFloat additionalOffset; | |
| 15 | 20 |
| 16 @end | 21 @end |
| 17 | 22 |
| 18 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_CELL_H_ | 23 #endif // CHROME_BROWSER_UI_COCOA_OMNIBOX_OMNIBOX_POPUP_CELL_H_ |
| OLD | NEW |