Index: chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h |
diff --git a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h |
index 97b148bf58b403117fe2b4d44891aeaba225acaa..6288d81ec8402e61056ca0d58c300e97e9e4c728 100644 |
--- a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h |
+++ b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h |
@@ -32,13 +32,12 @@ class OmniboxPopupContentsView : public views::View, |
public OmniboxPopupView, |
public ui::AnimationDelegate { |
public: |
- // Creates the appropriate type of omnibox dropdown for the |
- // current environment, e.g. desktop vs. touch optimized layout. |
- static OmniboxPopupContentsView* CreateForEnvironment( |
- const gfx::Font& font, |
- OmniboxView* omnibox_view, |
- AutocompleteEditModel* edit_model, |
- views::View* location_bar); |
+ // Factory method for creating the AutocompletePopupView. |
+ static OmniboxPopupView* Create(const gfx::Font& font, |
+ OmniboxView* omnibox_view, |
+ AutocompleteEditModel* edit_model, |
+ views::View* location_bar, |
+ views::View* popup_parent_view); |
// Returns the bounds the popup should be shown at. This is the display bounds |
// and includes offsets for the dropshadow which this view's border renders. |