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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_views.h

Issue 10702044: Merge 144001 - Update BrowserView::ProcessFullscreen OmniboxViewWin use; etc. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 6 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/ui/views/omnibox/omnibox_views.h
===================================================================
--- chrome/browser/ui/views/omnibox/omnibox_views.h (revision 144960)
+++ chrome/browser/ui/views/omnibox/omnibox_views.h (working copy)
@@ -10,9 +10,27 @@
class CommandUpdater;
class LocationBarView;
class OmniboxView;
+class OmniboxViewViews;
+class OmniboxViewWin;
class Profile;
class ToolbarModel;
+namespace views {
+class View;
+}
Peter Kasting 2012/06/29 20:15:28 Nit: This views::View forward declaration not need
msw 2012/06/29 20:20:29 Done.
+
+// 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(AutocompleteEditController* controller,
ToolbarModel* toolbar_model,
Profile* profile,
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views.cc ('k') | chrome/browser/ui/views/omnibox/omnibox_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698