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

Side by Side Diff: chrome/browser/cocoa/info_bubble_view.h

Issue 1623002: Change how the calculation is performed for determining the location of the a... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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
OLDNEW
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 #ifndef CHROME_BROWSER_COCOA_INFO_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_COCOA_INFO_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_COCOA_INFO_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_COCOA_INFO_BUBBLE_VIEW_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 extern const CGFloat kBubbleArrowHeight; 10 extern const CGFloat kBubbleArrowHeight;
(...skipping 18 matching lines...) Expand all
29 BubbleArrowLocation arrowLocation_; 29 BubbleArrowLocation arrowLocation_;
30 30
31 // The type simply is used to determine what sort of background it should 31 // The type simply is used to determine what sort of background it should
32 // draw. 32 // draw.
33 InfoBubbleType bubbleType_; 33 InfoBubbleType bubbleType_;
34 } 34 }
35 35
36 @property (assign, nonatomic) BubbleArrowLocation arrowLocation; 36 @property (assign, nonatomic) BubbleArrowLocation arrowLocation;
37 @property (assign, nonatomic) InfoBubbleType bubbleType; 37 @property (assign, nonatomic) InfoBubbleType bubbleType;
38 38
39 // Returns the point location in view coordinates of the tip of the arrow.
40 - (NSPoint)arrowTip;
41
39 @end 42 @end
40 43
41 #endif // CHROME_BROWSER_COCOA_INFO_BUBBLE_VIEW_H_ 44 #endif // CHROME_BROWSER_COCOA_INFO_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller_unittest.mm ('k') | chrome/browser/cocoa/info_bubble_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698