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 b1e3cdad6b71e99185603592fd8849799d36bf32..08da7dc0b14c950c3b3c2e0c35f8a3e2483329b1 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -144,6 +144,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(), |
@@ -1380,6 +1381,10 @@ void LocationBarView::SetFocusAndSelection(bool select_all) { |
FocusLocation(select_all); |
} |
+void LocationBarView::SetAnimationOffset(int offset) { |
+ dropdown_animation_offset_ = offset; |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
// LocationBarView, private TemplateURLServiceObserver implementation: |