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

Unified Diff: trunk/src/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.mm

Issue 116973002: Revert 241085 "[rAc] [OSX] Set tooltip bubble arrow's anchor poi..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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: trunk/src/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.mm
===================================================================
--- trunk/src/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.mm (revision 241090)
+++ trunk/src/chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.mm (working copy)
@@ -66,9 +66,8 @@
@synthesize message = message_;
-- (id)initWithArrowLocation:(info_bubble::BubbleArrowLocation)arrowLocation {
+- (id)init {
if ((self = [super init])) {
- arrowLocation_ = arrowLocation;
view_.reset([[AutofillTooltip alloc] init]);
[self setView:view_];
[view_ setTooltipDelegate:self];
@@ -109,8 +108,7 @@
[[AutofillBubbleController alloc]
initWithParentWindow:[[self view] window]
message:[self message]
- inset:NSMakeSize(kTooltipInset, kTooltipInset)
- arrowLocation:arrowLocation_];
+ inset:NSMakeSize(kTooltipInset, kTooltipInset)];
// Handle bubble self-deleting.
NSNotificationCenter* center = [NSNotificationCenter defaultCenter];

Powered by Google App Engine
This is Rietveld 408576698