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

Unified Diff: ui/base/l10n/l10n_font_util.h

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 | « ui/base/gtk/scoped_handle_gtk.h ('k') | ui/base/l10n/l10n_font_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/l10n/l10n_font_util.h
===================================================================
--- ui/base/l10n/l10n_font_util.h (revision 0)
+++ ui/base/l10n/l10n_font_util.h (working copy)
@@ -1,17 +1,19 @@
-// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef APP_GFX_FONT_UTIL_H_
-#define APP_GFX_FONT_UTIL_H_
+#ifndef UI_BASE_L10N_FONT_UTIL_H_
+#define UI_BASE_L10N_FONT_UTIL_H_
#pragma once
#include "gfx/size.h"
namespace gfx {
-
class Font;
+}
+namespace ui {
+
// Returns the preferred size of the contents view of a window based on
// its localized size data and the given font. The width in cols is held in a
// localized string resource identified by |col_resource_id|, the height in the
@@ -24,7 +26,6 @@
int row_resource_id,
const gfx::Font& font);
-} // namespace gfx
+} // namespace ui
-#endif // APP_GFX_FONT_UTIL_H_
-
+#endif // UI_BASE_L10N_FONT_UTIL_H_
« no previous file with comments | « ui/base/gtk/scoped_handle_gtk.h ('k') | ui/base/l10n/l10n_font_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698