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

Side by Side Diff: chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h

Issue 2836453002: Standardizing on the name "tail suggestions" (in comments) (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 // The popup sizes vertically using an animation when the popup is getting 152 // The popup sizes vertically using an animation when the popup is getting
153 // shorter (not larger, that makes it look "slow"). 153 // shorter (not larger, that makes it look "slow").
154 gfx::SlideAnimation size_animation_; 154 gfx::SlideAnimation size_animation_;
155 gfx::Rect start_bounds_; 155 gfx::Rect start_bounds_;
156 gfx::Rect target_bounds_; 156 gfx::Rect target_bounds_;
157 157
158 int start_margin_; 158 int start_margin_;
159 int end_margin_; 159 int end_margin_;
160 160
161 // When the dropdown is not wide enough while displaying postfix suggestions, 161 // When the dropdown is not wide enough while displaying tail suggestions,
162 // we use the width of widest match contents to shift the suggestions so that 162 // we use the width of widest match contents to shift the suggestions so that
163 // the widest suggestion just reaches the end edge. 163 // the widest suggestion just reaches the end edge.
164 int max_match_contents_width_; 164 int max_match_contents_width_;
165 165
166 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupContentsView); 166 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupContentsView);
167 }; 167 };
168 168
169 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_ 169 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_POPUP_CONTENTS_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h ('k') | chrome/browser/ui/views/omnibox/omnibox_result_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698