OLD | NEW |
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 | 7 |
8 class CommandUpdater; | 8 class CommandUpdater; |
9 class LocationBarView; | 9 class LocationBarView; |
10 class OmniboxEditController; | 10 class OmniboxEditController; |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 // Return |view| as an OmniboxViewWin, or NULL if it is of a different type. | 27 // Return |view| as an OmniboxViewWin, or NULL if it is of a different type. |
28 OmniboxViewWin* GetOmniboxViewWin(OmniboxView* view); | 28 OmniboxViewWin* GetOmniboxViewWin(OmniboxView* view); |
29 | 29 |
30 // Creates an OmniboxView of the appropriate type; Views or Win. | 30 // Creates an OmniboxView of the appropriate type; Views or Win. |
31 OmniboxView* CreateOmniboxView(OmniboxEditController* controller, | 31 OmniboxView* CreateOmniboxView(OmniboxEditController* controller, |
32 Profile* profile, | 32 Profile* profile, |
33 CommandUpdater* command_updater, | 33 CommandUpdater* command_updater, |
34 bool popup_window_mode, | 34 bool popup_window_mode, |
35 LocationBarView* location_bar, | 35 LocationBarView* location_bar, |
36 const gfx::FontList& font_list, | 36 const gfx::FontList& font_list); |
37 int font_y_offset); | |
38 | 37 |
39 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEWS_H_ | 38 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEWS_H_ |
OLD | NEW |