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

Unified Diff: chrome/browser/cocoa/location_bar_view_mac.mm

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/cocoa/location_bar_view_mac.mm
===================================================================
--- chrome/browser/cocoa/location_bar_view_mac.mm (revision 26251)
+++ chrome/browser/cocoa/location_bar_view_mac.mm (working copy)
@@ -45,13 +45,14 @@
} // namespace
-LocationBarViewMac::LocationBarViewMac(AutocompleteTextField* field,
- AutocompletePopupPositioner* positioner,
- CommandUpdater* command_updater,
- ToolbarModel* toolbar_model,
- Profile* profile)
- : edit_view_(new AutocompleteEditViewMac(this, positioner, toolbar_model,
- profile, command_updater, field)),
+LocationBarViewMac::LocationBarViewMac(
+ AutocompleteTextField* field,
+ const BubblePositioner* bubble_positioner,
+ CommandUpdater* command_updater,
+ ToolbarModel* toolbar_model,
+ Profile* profile)
+ : edit_view_(new AutocompleteEditViewMac(this, bubble_positioner,
+ toolbar_model, profile, command_updater, field)),
command_updater_(command_updater),
field_(field),
disposition_(CURRENT_TAB),

Powered by Google App Engine
This is Rietveld 408576698