| Index: chrome/browser/ui/views/omnibox/omnibox_views.h
|
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_views.h b/chrome/browser/ui/views/omnibox/omnibox_views.h
|
| index d0f4182a0e1bb162753df435b89174398bb1ad84..2be087cf90685bae0772711cb622532e6ee37603 100644
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_views.h
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_views.h
|
| @@ -10,6 +10,8 @@ class CommandUpdater;
|
| class LocationBarView;
|
| class OmniboxEditController;
|
| class OmniboxView;
|
| +class OmniboxViewViews;
|
| +class OmniboxViewWin;
|
| class Profile;
|
| class ToolbarModel;
|
|
|
| @@ -17,6 +19,18 @@ namespace views {
|
| class View;
|
| }
|
|
|
| +// Returns true if OmniboxViewViews should be used (instead of OmniboxViewWin).
|
| +bool UseOmniboxViews();
|
| +
|
| +// Return |view| as an OmniboxViewViews, or NULL if it is of a different type.
|
| +OmniboxViewViews* GetOmniboxViewViews(OmniboxView* view);
|
| +
|
| +#if defined(OS_WIN) && !defined(USE_AURA)
|
| +// Return |view| as an OmniboxViewWin, or NULL if it is of a different type.
|
| +OmniboxViewWin* GetOmniboxViewWin(OmniboxView* view);
|
| +#endif
|
| +
|
| +// Creates an OmniboxView of the appropriate type; Views or Win.
|
| OmniboxView* CreateOmniboxView(OmniboxEditController* controller,
|
| ToolbarModel* toolbar_model,
|
| Profile* profile,
|
|
|