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

Side by Side 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, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEWS_H_
7 #pragma once 7 #pragma once
8 8
9 class AutocompleteEditController; 9 class AutocompleteEditController;
10 class CommandUpdater; 10 class CommandUpdater;
11 class LocationBarView; 11 class LocationBarView;
12 class OmniboxView; 12 class OmniboxView;
13 class OmniboxViewViews;
14 class OmniboxViewWin;
13 class Profile; 15 class Profile;
14 class ToolbarModel; 16 class ToolbarModel;
15 17
18 namespace views {
19 class View;
20 }
Peter Kasting 2012/06/29 20:15:28 Nit: This views::View forward declaration not need
msw 2012/06/29 20:20:29 Done.
21
22 // Returns true if OmniboxViewViews should be used (instead of OmniboxViewWin).
23 bool UseOmniboxViews();
24
25 // Return |view| as an OmniboxViewViews, or NULL if it is of a different type.
26 OmniboxViewViews* GetOmniboxViewViews(OmniboxView* view);
27
28 #if defined(OS_WIN) && !defined(USE_AURA)
29 // Return |view| as an OmniboxViewWin, or NULL if it is of a different type.
30 OmniboxViewWin* GetOmniboxViewWin(OmniboxView* view);
31 #endif
32
33 // Creates an OmniboxView of the appropriate type; Views or Win.
16 OmniboxView* CreateOmniboxView(AutocompleteEditController* controller, 34 OmniboxView* CreateOmniboxView(AutocompleteEditController* controller,
17 ToolbarModel* toolbar_model, 35 ToolbarModel* toolbar_model,
18 Profile* profile, 36 Profile* profile,
19 CommandUpdater* command_updater, 37 CommandUpdater* command_updater,
20 bool popup_window_mode, 38 bool popup_window_mode,
21 LocationBarView* location_bar); 39 LocationBarView* location_bar);
22 40
23 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEWS_H_ 41 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEWS_H_
OLDNEW
« 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