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

Unified Diff: chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.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, 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h
diff --git a/chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h b/chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h
index 75cdad01cbc6126d06190b27e522d7c8de2af475..e87745cf6d625355798e5cef14ddd853da3c704f 100644
--- a/chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h
+++ b/chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h
@@ -25,7 +25,7 @@ class TouchOmniboxResultView : public OmniboxResultView {
TouchOmniboxResultView(OmniboxResultViewModel* model,
int model_index,
LocationBarView* location_bar_view,
- const gfx::Font& font);
+ const gfx::FontList& font_list);
private:
virtual ~TouchOmniboxResultView();
@@ -42,7 +42,7 @@ class TouchOmniboxResultView : public OmniboxResultView {
class TouchOmniboxPopupContentsView
: public OmniboxPopupContentsView {
public:
- TouchOmniboxPopupContentsView(const gfx::Font& font,
+ TouchOmniboxPopupContentsView(const gfx::FontList& font_list,
OmniboxView* omnibox_view,
OmniboxEditModel* edit_model,
LocationBarView* location_bar_view);
@@ -54,9 +54,10 @@ class TouchOmniboxPopupContentsView
protected:
// OmniboxPopupContentsView:
virtual void PaintResultViews(gfx::Canvas* canvas) OVERRIDE;
- virtual OmniboxResultView* CreateResultView(OmniboxResultViewModel* model,
- int model_index,
- const gfx::Font& font) OVERRIDE;
+ virtual OmniboxResultView* CreateResultView(
+ OmniboxResultViewModel* model,
+ int model_index,
+ const gfx::FontList& font_list) OVERRIDE;
private:
std::vector<View*> GetVisibleChildren();

Powered by Google App Engine
This is Rietveld 408576698