Index: chrome/browser/ui/views/dropdown_bar_host_delegate.h |
diff --git a/chrome/browser/ui/views/dropdown_bar_host_delegate.h b/chrome/browser/ui/views/dropdown_bar_host_delegate.h |
index c530414581421932b648106533738fbd4508b084..9b98b4b4d25f83d56355c23f2ab485183ec497d9 100644 |
--- a/chrome/browser/ui/views/dropdown_bar_host_delegate.h |
+++ b/chrome/browser/ui/views/dropdown_bar_host_delegate.h |
@@ -10,6 +10,10 @@ class DropdownBarHostDelegate { |
// Claims focus for the text field and selects its contents. |
virtual void SetFocusAndSelection(bool select_all) = 0; |
+ // Updates the view to let it know where the host is clipping the |
+ // dropdown widget (while animating the opening or closing of the widget). |
+ virtual void SetAnimationOffset(int offset) = 0; |
+ |
protected: |
virtual ~DropdownBarHostDelegate() {} |
}; |