Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1072)

Unified Diff: chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h

Issue 6731036: Enabled pressing TAB to cycle through the Omnibox results. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698