Index: chrome/browser/ui/views/location_bar/location_bar_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
index dc6093092ee3cdfe8f137100035fd50d69cb724e..853fa9800dc661499695540a117d0c65e83b5dd9 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -142,6 +142,7 @@ LocationBarView::LocationBarView(Browser* browser, |
is_popup_mode_(is_popup_mode), |
show_focus_rect_(false), |
template_url_service_(NULL), |
+ dropdown_animation_offset_(0), |
web_contents_null_at_last_refresh_(true) { |
edit_bookmarks_enabled_.Init( |
bookmarks::prefs::kEditBookmarksEnabled, profile->GetPrefs(), |
@@ -1376,6 +1377,10 @@ void LocationBarView::SetFocusAndSelection(bool select_all) { |
FocusLocation(select_all); |
} |
+void LocationBarView::SetAnimationOffset(int offset) { |
+ dropdown_animation_offset_ = offset; |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
// LocationBarView, private TemplateURLServiceObserver implementation: |