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

Side by Side Diff: chrome/browser/ui/views/omnibox/omnibox_views.h

Issue 19666006: Supports FontList in Textfield. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removes ResourceBundle::Delegate::GetFontList. Created 7 years, 4 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 7
8 class CommandUpdater; 8 class CommandUpdater;
9 class LocationBarView; 9 class LocationBarView;
10 class OmniboxEditController; 10 class OmniboxEditController;
11 class OmniboxView; 11 class OmniboxView;
12 class OmniboxViewViews; 12 class OmniboxViewViews;
13 class OmniboxViewWin; 13 class OmniboxViewWin;
14 class Profile; 14 class Profile;
15 class ToolbarModel; 15 class ToolbarModel;
16 16
17 namespace gfx { 17 namespace gfx {
18 class Font; 18 class FontList;
19 } 19 }
20 20
21 namespace views { 21 namespace views {
22 class View; 22 class View;
23 } 23 }
24 24
25 // Return |view| as an OmniboxViewViews, or NULL if it is of a different type. 25 // Return |view| as an OmniboxViewViews, or NULL if it is of a different type.
26 OmniboxViewViews* GetOmniboxViewViews(OmniboxView* view); 26 OmniboxViewViews* GetOmniboxViewViews(OmniboxView* view);
27 27
28 // Return |view| as an OmniboxViewWin, or NULL if it is of a different type. 28 // Return |view| as an OmniboxViewWin, or NULL if it is of a different type.
29 OmniboxViewWin* GetOmniboxViewWin(OmniboxView* view); 29 OmniboxViewWin* GetOmniboxViewWin(OmniboxView* view);
30 30
31 // Creates an OmniboxView of the appropriate type; Views or Win. 31 // Creates an OmniboxView of the appropriate type; Views or Win.
32 OmniboxView* CreateOmniboxView(OmniboxEditController* controller, 32 OmniboxView* CreateOmniboxView(OmniboxEditController* controller,
33 ToolbarModel* toolbar_model, 33 ToolbarModel* toolbar_model,
34 Profile* profile, 34 Profile* profile,
35 CommandUpdater* command_updater, 35 CommandUpdater* command_updater,
36 bool popup_window_mode, 36 bool popup_window_mode,
37 LocationBarView* location_bar, 37 LocationBarView* location_bar,
38 const gfx::Font& font, 38 const gfx::FontList& font_list,
39 int font_y_offset); 39 int font_y_offset);
40 40
41 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEWS_H_ 41 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698