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

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

Issue 84343002: [rAC, OSX] Use a bubble for tooltips. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: It slices! It dices! And now even WITH TESTS! 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_TOOLTIP_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_TOOLTIP_CONTROLLER_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 #include "base/mac/scoped_nsobject.h"
11
12 @class AutofillTooltip;
13 @class AutofillBubbleController;
Robert Sesek 2013/12/02 17:16:53 nit: alphabetize
groby-ooo-7-16 2013/12/02 20:41:57 Done.
14
15 @protocol AutofillTooltipDelegate
16 - (void)didBeginHover;
17 - (void)didEndHover;
18 @end
19
20 // Controller for the Tooltip view, which handles displaying/hiding the
21 // tooltip bubble on hover.
22 @interface AutofillTooltipController
23 : NSViewController<AutofillTooltipDelegate> {
Robert Sesek 2013/12/02 17:16:53 @private
groby-ooo-7-16 2013/12/02 20:41:57 Done.
24 base::scoped_nsobject<AutofillTooltip> view_;
25 AutofillBubbleController* bubbleController_;
26 NSString* message_;
27 }
28
29 // |message| to display in the tooltip.
30 @property(nonatomic, copy) NSString* message;
Robert Sesek 2013/12/02 17:16:53 copy, nonatomic
groby-ooo-7-16 2013/12/02 20:41:57 Done.
31
32 - (id)init;
33 - (void)setImage:(NSImage*)image;
34
35 @end;
36
37 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_TOOLTIP_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698