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

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

Issue 84343002: [rAC, OSX] Use a bubble for tooltips. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. 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_notification_controller.h
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_notification_controller.h b/chrome/browser/ui/cocoa/autofill/autofill_notification_controller.h
index 750a3a61fbb51633f90545088aa1d3d51605566c..86bda584523edfdcb711afce8c49e8a9f9409e43 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_notification_controller.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_notification_controller.h
@@ -12,7 +12,9 @@
#import "chrome/browser/ui/cocoa/autofill/autofill_layout.h"
#include "url/gurl.h"
+@class AutofillTooltipController;
@class HyperlinkTextView;
+
namespace autofill {
class AutofillDialogViewDelegate;
}
@@ -28,7 +30,7 @@ class AutofillDialogViewDelegate;
base::scoped_nsobject<NSButton> checkbox_;
// Optional tooltip icon.
- base::scoped_nsobject<NSImageView> tooltipIcon_;
+ base::scoped_nsobject<AutofillTooltipController> tooltipController_;
// Optional link target.
GURL linkURL_;
@@ -42,7 +44,7 @@ class AutofillDialogViewDelegate;
@property(nonatomic, readonly) NSTextView* textview;
@property(nonatomic, readonly) NSButton* checkbox;
-@property(nonatomic, readonly) NSImageView* tooltipIcon;
+@property(nonatomic, readonly) NSView* tooltipView;
// Designated initializer. Initializes the controller as specified by
// |notification|.

Powered by Google App Engine
This is Rietveld 408576698