| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 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 | 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_TOOLBAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #import <Cocoa/Cocoa.h> | 9 #import <Cocoa/Cocoa.h> |
| 10 #import "chrome/browser/ui/cocoa/background_gradient_view.h" | 10 #import "chrome/browser/ui/cocoa/background_gradient_view.h" |
| 11 | 11 |
| 12 // A view that handles any special rendering of the toolbar bar. At | 12 // A view that handles any special rendering of the toolbar bar. At |
| 13 // this time it only draws a gradient. Future changes (e.g. themes) | 13 // this time it only draws a gradient. Future changes (e.g. themes) |
| 14 // may require new functionality here. | 14 // may require new functionality here. |
| 15 | 15 |
| 16 @interface ToolbarView : BackgroundGradientView { | 16 @interface ToolbarView : BackgroundGradientView { |
| 17 @private | 17 @private |
| 18 // The opacity of the divider line (at the bottom of the toolbar); used when | 18 // The opacity of the divider line (at the bottom of the toolbar); used when |
| 19 // the detached bookmark bar is morphing to the normal bar and vice versa. | 19 // the detached bookmark bar is morphing to the normal bar and vice versa. |
| 20 CGFloat dividerOpacity_; | 20 CGFloat dividerOpacity_; |
| 21 } | 21 } |
| 22 | 22 |
| 23 @property(assign, nonatomic) CGFloat dividerOpacity; | 23 @property(assign, nonatomic) CGFloat dividerOpacity; |
| 24 @end | 24 @end |
| 25 | 25 |
| 26 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_VIEW_H_ | 26 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_VIEW_H_ |
| OLD | NEW |