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

Side by Side Diff: content/common/font_list_win.cc

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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 #include "content/common/font_list.h" 5 #include "content/common/font_list.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <string.h>
8 9
9 #include <set> 10 #include <set>
10 11
11 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
12 #include "base/values.h" 13 #include "base/values.h"
13 14
14 namespace content { 15 namespace content {
15 16
16 static int CALLBACK EnumFontFamExProc(ENUMLOGFONTEXW* logical_font, 17 static int CALLBACK EnumFontFamExProc(ENUMLOGFONTEXW* logical_font,
17 NEWTEXTMETRICEXW* physical_font, 18 NEWTEXTMETRICEXW* physical_font,
(...skipping 28 matching lines...) Expand all
46 for (iter = font_names.begin(); iter != font_names.end(); ++iter) { 47 for (iter = font_names.begin(); iter != font_names.end(); ++iter) {
47 base::ListValue* font_item = new base::ListValue(); 48 base::ListValue* font_item = new base::ListValue();
48 font_item->Append(new base::StringValue(*iter)); 49 font_item->Append(new base::StringValue(*iter));
49 font_item->Append(new base::StringValue(*iter)); 50 font_item->Append(new base::StringValue(*iter));
50 font_list->Append(font_item); 51 font_list->Append(font_item);
51 } 52 }
52 return font_list.Pass(); 53 return font_list.Pass();
53 } 54 }
54 55
55 } // namespace content 56 } // namespace content
OLDNEW
« no previous file with comments | « content/child/worker_thread_message_filter.h ('k') | content/common/gpu/client/gl_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698