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

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, 4 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 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);
};

Powered by Google App Engine
This is Rietveld 408576698