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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/autofill_tooltip_controller.h

Issue 2703253007: Use (i) icon and the same tooltip for the credit cards dialog and account chooser on Mac. (Closed)
Patch Set: rebase Created 3 years, 9 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_AUTOFILL_AUTOFILL_TOOLTIP_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_TOOLTIP_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_TOOLTIP_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_TOOLTIP_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
(...skipping 15 matching lines...) Expand all
26 // or tooltip bubble. 26 // or tooltip bubble.
27 BOOL shouldDisplayTooltip_; 27 BOOL shouldDisplayTooltip_;
28 28
29 // Tracks whether mouse pointer currently hovers above bubble. 29 // Tracks whether mouse pointer currently hovers above bubble.
30 BOOL isHoveringOnBubble_; 30 BOOL isHoveringOnBubble_;
31 } 31 }
32 32
33 // |message| to display in the tooltip. 33 // |message| to display in the tooltip.
34 @property(copy, nonatomic) NSString* message; 34 @property(copy, nonatomic) NSString* message;
35 35
36 // Maximal width of the text excluding insets.
37 @property(nonatomic) CGFloat maxTooltipWidth;
38
36 - (id)initWithArrowLocation:(info_bubble::BubbleArrowLocation)arrowLocation; 39 - (id)initWithArrowLocation:(info_bubble::BubbleArrowLocation)arrowLocation;
37 - (void)setImage:(NSImage*)image; 40 - (void)setImage:(NSImage*)image;
38 41
39 @end; 42 @end;
40 43
41 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_TOOLTIP_CONTROLLER_H_ 44 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_TOOLTIP_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698