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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.h

Issue 113763002: [rAc] [OSX] Set tooltip bubble arrow's anchor point based on the icon location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.h
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.h b/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.h
index ff07755d5b7e6289df66a0403b2cab49aaa8ade6..cfcf958913b3e592c9aa0638b047b8cd05965b35 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.h
@@ -8,6 +8,7 @@
#import <Cocoa/Cocoa.h>
#include "base/mac/scoped_nsobject.h"
+#import "chrome/browser/ui/cocoa/info_bubble_view.h"
@class AutofillBubbleController;
@class AutofillTooltip;
@@ -25,12 +26,13 @@
base::scoped_nsobject<AutofillTooltip> view_;
AutofillBubbleController* bubbleController_;
NSString* message_;
+ info_bubble::BubbleArrowLocation arrowLocation_;
}
// |message| to display in the tooltip.
@property(copy, nonatomic) NSString* message;
-- (id)init;
+- (id)initWithArrowLocation:(info_bubble::BubbleArrowLocation)arrowLocation;
- (void)setImage:(NSImage*)image;
@end;

Powered by Google App Engine
This is Rietveld 408576698