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

Side by Side Diff: chrome/browser/ui/cocoa/nsview_additions.h

Issue 6969058: Fix hover state in wrench menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments Created 9 years, 7 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 | « chrome/browser/ui/cocoa/menu_button.mm ('k') | chrome/browser/ui/cocoa/nsview_additions.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 CHROME_BROWSER_UI_COCOA_NSVIEW_ADDITIONS_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_NSVIEW_ADDITIONS_H_
6 #define CHROME_BROWSER_UI_COCOA_NSVIEW_ADDITIONS_H_ 6 #define CHROME_BROWSER_UI_COCOA_NSVIEW_ADDITIONS_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
11 @interface NSView (ChromeAdditions) 11 @interface NSView (ChromeAdditions)
12 12
13 // Returns the line width that will generate a 1 pixel wide line. 13 // Returns the line width that will generate a 1 pixel wide line.
14 - (CGFloat)cr_lineWidth; 14 - (CGFloat)cr_lineWidth;
15 15
16 // Checks if the mouse is currently in this view.
17 - (BOOL)cr_isMouseInView;
18
16 @end 19 @end
17 20
18 #endif // CHROME_BROWSER_UI_COCOA_NSVIEW_ADDITIONS_H_ 21 #endif // CHROME_BROWSER_UI_COCOA_NSVIEW_ADDITIONS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/menu_button.mm ('k') | chrome/browser/ui/cocoa/nsview_additions.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698