Chromium Code Reviews

Unified Diff: chrome/browser/browser_main.cc

Issue 3083022: Rework gfx::Font by moving platform-specific code into inner classes.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/browser_main.cc
===================================================================
--- chrome/browser/browser_main.cc (revision 55911)
+++ chrome/browser/browser_main.cc (working copy)
@@ -123,6 +123,7 @@
#include "chrome/installer/util/install_util.h"
#include "chrome/installer/util/shell_util.h"
#include "chrome/installer/util/version.h"
+#include "gfx/platform_font_win.h"
#include "net/base/net_util.h"
#include "net/base/sdch_manager.h"
#include "printing/printed_document.h"
@@ -706,8 +707,8 @@
views::ViewsDelegate::views_delegate = new ChromeViewsDelegate;
#if defined(OS_WIN)
- gfx::Font::adjust_font_callback = &AdjustUIFont;
- gfx::Font::get_minimum_font_size_callback = &GetMinimumFontSize;
+ gfx::PlatformFontWin::adjust_font_callback = &AdjustUIFont;
+ gfx::PlatformFontWin::get_minimum_font_size_callback = &GetMinimumFontSize;
// Init common control sex.
INITCOMMONCONTROLSEX config;

Powered by Google App Engine