OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_LOCATION_BAR_ZOOM_DECORATION_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_ZOOM_DECORATION_H_ |
6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_ZOOM_DECORATION_H_ | 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_ZOOM_DECORATION_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 virtual bool OnMousePressed(NSRect frame) OVERRIDE; | 43 virtual bool OnMousePressed(NSRect frame) OVERRIDE; |
44 virtual NSString* GetToolTip() OVERRIDE; | 44 virtual NSString* GetToolTip() OVERRIDE; |
45 | 45 |
46 // The control that owns this. Weak. | 46 // The control that owns this. Weak. |
47 LocationBarViewMac* owner_; | 47 LocationBarViewMac* owner_; |
48 | 48 |
49 // The bubble that this decoration shows. Weak, owns self. | 49 // The bubble that this decoration shows. Weak, owns self. |
50 ZoomBubbleController* bubble_; | 50 ZoomBubbleController* bubble_; |
51 | 51 |
52 // The string to show for a tooltip. | 52 // The string to show for a tooltip. |
53 scoped_nsobject<NSString> tooltip_; | 53 base::scoped_nsobject<NSString> tooltip_; |
54 | 54 |
55 DISALLOW_COPY_AND_ASSIGN(ZoomDecoration); | 55 DISALLOW_COPY_AND_ASSIGN(ZoomDecoration); |
56 }; | 56 }; |
57 | 57 |
58 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_ZOOM_DECORATION_H_ | 58 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_ZOOM_DECORATION_H_ |
OLD | NEW |