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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_bubble_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_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.h b/chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.h
index 273288243752178135d1c774ec427b3ca750d6c9..a561608a199d18856adebec50c8bbb745fb4c7c9 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.h
@@ -9,6 +9,7 @@
#include "base/mac/scoped_nsobject.h"
#import "chrome/browser/ui/cocoa/base_bubble_controller.h"
+#import "chrome/browser/ui/cocoa/info_bubble_view.h"
// Bubble controller for field validation error bubbles.
@interface AutofillBubbleController : BaseBubbleController {
@@ -24,10 +25,11 @@
message:(NSString*)message;
// Designated initializer. Creates a bubble with given |message| and insets the
-// text content by |inset|.
+// text content by |inset|, with the arrow positioned at |arrowLocation|.
- (id)initWithParentWindow:(NSWindow*)parentWindow
message:(NSString*)message
- inset:(NSSize)inset;
+ inset:(NSSize)inset
+ arrowLocation:(info_bubble::BubbleArrowLocation)arrowLocation;
// Maximum width that the bubble will occupy, regardless of message size.
- (CGFloat)maxWidth;

Powered by Google App Engine
This is Rietveld 408576698