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 #import "chrome/browser/ui/cocoa/toolbar_view.h" | 5 #import "chrome/browser/ui/cocoa/toolbar/toolbar_view.h" |
6 | 6 |
7 #import "chrome/browser/ui/cocoa/themed_window.h" | 7 #import "chrome/browser/ui/cocoa/themed_window.h" |
8 #import "chrome/browser/ui/cocoa/view_id_util.h" | 8 #import "chrome/browser/ui/cocoa/view_id_util.h" |
9 | 9 |
10 @implementation ToolbarView | 10 @implementation ToolbarView |
11 | 11 |
12 @synthesize dividerOpacity = dividerOpacity_; | 12 @synthesize dividerOpacity = dividerOpacity_; |
13 | 13 |
14 // Prevent mouse down events from moving the parent window around. | 14 // Prevent mouse down events from moving the parent window around. |
15 - (BOOL)mouseDownCanMoveWindow { | 15 - (BOOL)mouseDownCanMoveWindow { |
(...skipping 22 matching lines...) Expand all Loading... |
38 return NSAccessibilityToolbarRole; | 38 return NSAccessibilityToolbarRole; |
39 | 39 |
40 return [super accessibilityAttributeValue:attribute]; | 40 return [super accessibilityAttributeValue:attribute]; |
41 } | 41 } |
42 | 42 |
43 - (ViewID)viewID { | 43 - (ViewID)viewID { |
44 return VIEW_ID_TOOLBAR; | 44 return VIEW_ID_TOOLBAR; |
45 } | 45 } |
46 | 46 |
47 @end | 47 @end |
OLD | NEW |