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

Unified Diff: chrome/browser/views/location_bar_view.cc

Issue 194110: Convert the AutocompletePopupPositioner into a BubblePositioner in preparatio... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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/views/location_bar_view.cc
===================================================================
--- chrome/browser/views/location_bar_view.cc (revision 26251)
+++ chrome/browser/views/location_bar_view.cc (working copy)
@@ -86,7 +86,7 @@
ToolbarModel* model,
Delegate* delegate,
bool popup_window_mode,
- AutocompletePopupPositioner* popup_positioner)
+ const BubblePositioner* bubble_positioner)
: profile_(profile),
command_updater_(command_updater),
model_(model),
@@ -99,7 +99,7 @@
security_image_view_(profile, model),
popup_window_mode_(popup_window_mode),
first_run_bubble_(this),
- popup_positioner_(popup_positioner) {
+ bubble_positioner_(bubble_positioner) {
DCHECK(profile_);
SetID(VIEW_ID_LOCATION_BAR);
SetFocusable(true);
@@ -138,12 +138,12 @@
widget->GetNativeView(),
profile_, command_updater_,
popup_window_mode_,
- popup_positioner_));
+ bubble_positioner_));
#else
location_entry_.reset(new AutocompleteEditViewGtk(this, model_, profile_,
command_updater_,
popup_window_mode_,
- popup_positioner_));
+ bubble_positioner_));
location_entry_->Init();
// Make all the children of the widget visible. NOTE: this won't display
// anything, it just toggles the visible flag.

Powered by Google App Engine
This is Rietveld 408576698