Index: chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h |
=================================================================== |
--- chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h (revision 93757) |
+++ 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" |
@@ -108,6 +109,10 @@ |
// Returns the match at the specified index within the popup model. |
const AutocompleteMatch& GetMatchAtIndex(size_t index) const; |
+ // Creates any missing AutocompleteResultViews between |child_count| |
+ // and |required_count|. |
+ void CreateCachedViews(size_t child_count, size_t required_count); |
+ |
// Fill a path for the contents' roundrect. |bounding_rect| is the rect that |
// bounds the path. |
void MakeContentsPath(gfx::Path* path, const gfx::Rect& bounding_rect); |
@@ -170,6 +175,9 @@ |
gfx::Rect start_bounds_; |
gfx::Rect target_bounds_; |
+ typedef ScopedVector<ui::SlideAnimation> SlideAnimations; |
+ SlideAnimations keyword_animations_; |
+ |
DISALLOW_COPY_AND_ASSIGN(AutocompletePopupContentsView); |
}; |