Index: chrome/browser/autocomplete/autocomplete_popup_view_mac.h |
=================================================================== |
--- chrome/browser/autocomplete/autocomplete_popup_view_mac.h (revision 46538) |
+++ chrome/browser/autocomplete/autocomplete_popup_view_mac.h (working copy) |
@@ -106,12 +106,18 @@ |
// Create the popup_ instance if needed. |
void CreatePopupIfNeeded(); |
+ // Sets the popup frame, animating to the new frame if the popup is shrinking, |
+ // setting the frame immediately otherwise. Does nothing if the popup is |
+ // already animating to the given frame. |
+ void SetPopupFrame(const NSRect frame); |
+ |
scoped_ptr<AutocompletePopupModel> model_; |
AutocompleteEditViewMac* edit_view_; |
NSTextField* field_; // owned by tab controller |
// Child window containing a matrix which implements the popup. |
scoped_nsobject<NSWindow> popup_; |
+ NSRect targetPopupFrame_; |
DISALLOW_COPY_AND_ASSIGN(AutocompletePopupViewMac); |
}; |