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/macros.h" |
11 #import "chrome/browser/ui/cocoa/browser/zoom_bubble_controller.h" | 11 #import "chrome/browser/ui/cocoa/browser/zoom_bubble_controller.h" |
12 #include "chrome/browser/ui/cocoa/location_bar/image_decoration.h" | 12 #include "chrome/browser/ui/cocoa/location_bar/image_decoration.h" |
13 | 13 |
14 class LocationBarViewMac; | 14 class LocationBarViewMac; |
15 @class ZoomBubbleController; | 15 @class ZoomBubbleController; |
16 class ZoomDecorationTest; | 16 class ZoomDecorationTest; |
17 | 17 |
18 namespace ui_zoom { | 18 namespace ui_zoom { |
19 class ZoomController; | 19 class ZoomController; |
20 } | 20 } |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 // The bubble that this decoration shows. Weak, owns self. | 74 // The bubble that this decoration shows. Weak, owns self. |
75 ZoomBubbleController* bubble_; | 75 ZoomBubbleController* bubble_; |
76 | 76 |
77 // The string to show for a tooltip. | 77 // The string to show for a tooltip. |
78 base::scoped_nsobject<NSString> tooltip_; | 78 base::scoped_nsobject<NSString> tooltip_; |
79 | 79 |
80 DISALLOW_COPY_AND_ASSIGN(ZoomDecoration); | 80 DISALLOW_COPY_AND_ASSIGN(ZoomDecoration); |
81 }; | 81 }; |
82 | 82 |
83 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_ZOOM_DECORATION_H_ | 83 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_ZOOM_DECORATION_H_ |
OLD | NEW |