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

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

Issue 1162393003: Replace info_bubble::BubbleArrowLocation with views::BubbleBorder::Arrow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile in test Created 5 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BUBBLE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_BUBBLE_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_BUBBLE_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_BUBBLE_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 11 matching lines...) Expand all
22 // -showWindow: to make the bubble visible. It will autorelease itself when the 22 // -showWindow: to make the bubble visible. It will autorelease itself when the
23 // user dismisses the bubble. 23 // user dismisses the bubble.
24 - (id)initWithParentWindow:(NSWindow*)parentWindow 24 - (id)initWithParentWindow:(NSWindow*)parentWindow
25 message:(NSString*)message; 25 message:(NSString*)message;
26 26
27 // Designated initializer. Creates a bubble with given |message| and insets the 27 // Designated initializer. Creates a bubble with given |message| and insets the
28 // text content by |inset|, with the arrow positioned at |arrowLocation|. 28 // text content by |inset|, with the arrow positioned at |arrowLocation|.
29 - (id)initWithParentWindow:(NSWindow*)parentWindow 29 - (id)initWithParentWindow:(NSWindow*)parentWindow
30 message:(NSString*)message 30 message:(NSString*)message
31 inset:(NSSize)inset 31 inset:(NSSize)inset
32 arrowLocation:(info_bubble::BubbleArrowLocation)arrowLocation; 32 arrowLocation:(views::BubbleBorder::Arrow)arrowLocation;
33 33
34 // Maximum width that the bubble will occupy, regardless of message size. 34 // Maximum width that the bubble will occupy, regardless of message size.
35 - (CGFloat)maxWidth; 35 - (CGFloat)maxWidth;
36 36
37 // Update the current text with |message|. 37 // Update the current text with |message|.
38 - (void)setMessage:(NSString*)message; 38 - (void)setMessage:(NSString*)message;
39 39
40 @end 40 @end
41 41
42 42
43 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_BUBBLE_CONTROLLER_H_ 43 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_BUBBLE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/autofill/autofill_bubble_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698