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

Unified Diff: chrome/browser/ui/views/first_run_bubble.cc

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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
« no previous file with comments | « chrome/browser/ui/views/external_protocol_dialog.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/first_run_bubble.cc
===================================================================
--- chrome/browser/ui/views/first_run_bubble.cc (revision 71854)
+++ chrome/browser/ui/views/first_run_bubble.cc (working copy)
@@ -4,7 +4,6 @@
#include "chrome/browser/ui/views/first_run_bubble.h"
-#include "app/gfx/font_util.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include "base/utf_string_conversions.h"
@@ -18,6 +17,7 @@
#include "grit/generated_resources.h"
#include "grit/locale_settings.h"
#include "grit/theme_resources.h"
+#include "ui/base/l10n/l10n_font_util.h"
#include "ui/base/win/hwnd_util.h"
#include "views/event.h"
#include "views/controls/button/native_button.h"
@@ -346,9 +346,9 @@
const gfx::Font& font = rb.GetFont(
ResourceBundle::MediumFont).DeriveFont(3, gfx::Font::BOLD);
gfx::Size size = gfx::Size(
- gfx::GetLocalizedContentsWidthForFont(
+ ui::GetLocalizedContentsWidthForFont(
IDS_FIRSTRUNOEMBUBBLE_DIALOG_WIDTH_CHARS, font),
- gfx::GetLocalizedContentsHeightForFont(
+ ui::GetLocalizedContentsHeightForFont(
IDS_FIRSTRUNOEMBUBBLE_DIALOG_HEIGHT_LINES, font));
// WARNING: HACK. Vista and XP calculate font size differently; this means
« no previous file with comments | « chrome/browser/ui/views/external_protocol_dialog.cc ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698