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

Side by Side Diff: chrome/browser/ui/cocoa/toolbar/toolbar_view_cocoa.h

Issue 1305143008: [Mac] Implement LocationBarViewMac::UpdateLocationBarVisibility() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing nits Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/toolbar/toolbar_controller_unittest.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_TOOLBAR_VIEW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_VIEW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_VIEW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_VIEW_COCOA_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #import "chrome/browser/ui/cocoa/background_gradient_view.h" 9 #import "chrome/browser/ui/cocoa/animatable_view.h"
10 10
11 // A view that handles any special rendering of the toolbar bar. At 11 // A view that handles any special rendering of the toolbar bar. At
12 // this time it only draws a gradient. Future changes (e.g. themes) 12 // this time it only draws a gradient. Future changes (e.g. themes)
13 // may require new functionality here. 13 // may require new functionality here.
14 14
15 @interface ToolbarView : BackgroundGradientView { 15 @interface ToolbarView : AnimatableView {
16 @private 16 @private
17 // The opacity of the divider line (at the bottom of the toolbar); used when 17 // The opacity of the divider line (at the bottom of the toolbar); used when
18 // the detached bookmark bar is morphing to the normal bar and vice versa. 18 // the detached bookmark bar is morphing to the normal bar and vice versa.
19 CGFloat dividerOpacity_; 19 CGFloat dividerOpacity_;
20 } 20 }
21 21
22 @property(assign, nonatomic) CGFloat dividerOpacity; 22 @property(assign, nonatomic) CGFloat dividerOpacity;
23 @end 23 @end
24 24
25 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_VIEW_COCOA_H_ 25 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_VIEW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/toolbar/toolbar_controller_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698