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

Side by Side Diff: components/html_viewer/web_preferences.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/html_viewer/web_preferences.h" 5 #include "components/html_viewer/web_preferences.h"
6 6
7 #include "base/basictypes.h"
8 #include "base/strings/string_util.h" 7 #include "base/strings/string_util.h"
9 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "build/build_config.h"
10 #include "third_party/WebKit/public/web/WebSettings.h" 10 #include "third_party/WebKit/public/web/WebSettings.h"
11 #include "third_party/icu/source/common/unicode/uchar.h" 11 #include "third_party/icu/source/common/unicode/uchar.h"
12 12
13 namespace html_viewer { 13 namespace html_viewer {
14 14
15 // "Zyyy" is the ISO 15924 script code for undetermined script aka Common. 15 // "Zyyy" is the ISO 15924 script code for undetermined script aka Common.
16 const char kCommonScript[] = "Zyyy"; 16 const char kCommonScript[] = "Zyyy";
17 17
18 WebPreferences::WebPreferences() 18 WebPreferences::WebPreferences()
19 : default_font_size(16), 19 : default_font_size(16),
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 sans_serif_font_family_map[kCommonScript] = base::ASCIIToUTF16("Arial"); 178 sans_serif_font_family_map[kCommonScript] = base::ASCIIToUTF16("Arial");
179 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script"); 179 cursive_font_family_map[kCommonScript] = base::ASCIIToUTF16("Script");
180 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact"); 180 fantasy_font_family_map[kCommonScript] = base::ASCIIToUTF16("Impact");
181 pictograph_font_family_map[kCommonScript] = 181 pictograph_font_family_map[kCommonScript] =
182 base::ASCIIToUTF16("Times New Roman"); 182 base::ASCIIToUTF16("Times New Roman");
183 } 183 }
184 184
185 WebPreferences::~WebPreferences() {} 185 WebPreferences::~WebPreferences() {}
186 186
187 } // namespace html_viewer 187 } // namespace html_viewer
OLDNEW
« no previous file with comments | « components/html_viewer/web_preferences.h ('k') | components/html_viewer/web_socket_handle_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698