Index: chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h |
=================================================================== |
--- chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h (revision 95169) |
+++ chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h (working copy) |
@@ -6,6 +6,7 @@ |
#define CHROME_BROWSER_UI_VIEWS_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_CONTENTS_VIEW_H_ |
#pragma once |
+#include "base/memory/scoped_vector.h" |
#include "chrome/browser/autocomplete/autocomplete.h" |
#include "chrome/browser/autocomplete/autocomplete_popup_model.h" |
#include "chrome/browser/autocomplete/autocomplete_popup_view.h" |
@@ -101,6 +102,7 @@ |
private: |
class AutocompletePopupWidget; |
class InstantOptInView; |
+ typedef ScopedVector<ui::SlideAnimation> SlideAnimations; |
// Returns true if the model has a match at the specified index. |
bool HasMatchAt(size_t index) const; |
@@ -170,6 +172,11 @@ |
gfx::Rect start_bounds_; |
gfx::Rect target_bounds_; |
+ // A list of animations for each result line. The animation is used to |
+ // gracefully switch between the result view and the keyword view for |
+ // each line. |
+ SlideAnimations keyword_animations_; |
+ |
DISALLOW_COPY_AND_ASSIGN(AutocompletePopupContentsView); |
}; |