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

Side by Side Diff: ui/base/cocoa/hover_button.h

Issue 17627005: mac: Remove unused includes of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: builds Created 7 years, 6 months 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 | Annotate | Revision Log
« no previous file with comments | « net/base/platform_mime_util_mac.mm ('k') | webkit/common/cursors/webcursor_mac.mm » ('j') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 UI_BASE_COCOA_HOVER_BUTTON_ 5 #ifndef UI_BASE_COCOA_HOVER_BUTTON_
6 #define UI_BASE_COCOA_HOVER_BUTTON_ 6 #define UI_BASE_COCOA_HOVER_BUTTON_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #import "base/mac/scoped_nsobject.h"
11 #import "ui/base/cocoa/tracking_area.h" 10 #import "ui/base/cocoa/tracking_area.h"
12 #import "ui/base/ui_export.h" 11 #import "ui/base/ui_export.h"
13 12
14 // A button that changes when you hover over it and click it. 13 // A button that changes when you hover over it and click it.
15 UI_EXPORT 14 UI_EXPORT
16 @interface HoverButton : NSButton { 15 @interface HoverButton : NSButton {
17 @protected 16 @protected
18 // Enumeration of the hover states that the close button can be in at any one 17 // Enumeration of the hover states that the close button can be in at any one
19 // time. The button cannot be in more than one hover state at a time. 18 // time. The button cannot be in more than one hover state at a time.
20 enum HoverState { 19 enum HoverState {
(...skipping 16 matching lines...) Expand all
37 36
38 // Checks to see whether the mouse is in the button's bounds and update 37 // Checks to see whether the mouse is in the button's bounds and update
39 // the image in case it gets out of sync. This occurs to the close button 38 // the image in case it gets out of sync. This occurs to the close button
40 // when you close a tab so the tab to the left of it takes its place, and 39 // when you close a tab so the tab to the left of it takes its place, and
41 // drag the button without moving the mouse before you press the button down. 40 // drag the button without moving the mouse before you press the button down.
42 - (void)checkImageState; 41 - (void)checkImageState;
43 42
44 @end 43 @end
45 44
46 #endif // UI_BASE_COCOA_HOVER_BUTTON_ 45 #endif // UI_BASE_COCOA_HOVER_BUTTON_
OLDNEW
« no previous file with comments | « net/base/platform_mime_util_mac.mm ('k') | webkit/common/cursors/webcursor_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698