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

Side by Side Diff: content/common/font_list.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/webui/web_ui.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_COMMON_FONT_LIST_H_ 5 #ifndef CONTENT_COMMON_FONT_LIST_H_
6 #define CONTENT_COMMON_FONT_LIST_H_ 6 #define CONTENT_COMMON_FONT_LIST_H_
7 7
8 namespace base {
8 class ListValue; 9 class ListValue;
10 }
9 11
10 namespace content { 12 namespace content {
11 13
12 // Retrieves the fonts available on the current platform and returns them. 14 // Retrieves the fonts available on the current platform and returns them.
13 // The caller will own the returned pointer. Each entry will be a list of 15 // The caller will own the returned pointer. Each entry will be a list of
14 // two strings, the first being the font family, and the second being the 16 // two strings, the first being the font family, and the second being the
15 // localized name. 17 // localized name.
16 // 18 //
17 // This function is potentially slow (the system may do a bunch of I/O) so be 19 // This function is potentially slow (the system may do a bunch of I/O) so be
18 // sure not to call this on a time-critical thread like the UI or I/O threads. 20 // sure not to call this on a time-critical thread like the UI or I/O threads.
19 // 21 //
20 // Most callers will want to use the GetFontListAsync function in 22 // Most callers will want to use the GetFontListAsync function in
21 // content/browser/font_list_async.h which does an asynchronous call. 23 // content/browser/font_list_async.h which does an asynchronous call.
22 ListValue* GetFontList_SlowBlocking(); 24 base::ListValue* GetFontList_SlowBlocking();
23 25
24 } // namespace content 26 } // namespace content
25 27
26 #endif // CONTENT_COMMON_FONT_LIST_H_ 28 #endif // CONTENT_COMMON_FONT_LIST_H_
OLDNEW
« no previous file with comments | « content/browser/webui/web_ui.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698