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

Side by Side Diff: webkit/glue/webpreferences.h

Issue 10540022: mac: Plumbing for the emoji font. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: whoops Created 8 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // A struct for managing webkit's settings. 5 // A struct for managing webkit's settings.
6 // 6 //
7 // Adding new values to this class probably involves updating 7 // Adding new values to this class probably involves updating
8 // WebKit::WebSettings, content/common/view_messages.h, browser/tab_contents/ 8 // WebKit::WebSettings, content/common/view_messages.h, browser/tab_contents/
9 // render_view_host_delegate_helper.cc, and browser/profiles/profile.cc. 9 // render_view_host_delegate_helper.cc, and browser/profiles/profile.cc.
10 10
(...skipping 23 matching lines...) Expand all
34 // default used on WebKit's side to get/set a font setting when no script is 34 // default used on WebKit's side to get/set a font setting when no script is
35 // specified. 35 // specified.
36 static const char kCommonScript[]; 36 static const char kCommonScript[];
37 37
38 ScriptFontFamilyMap standard_font_family_map; 38 ScriptFontFamilyMap standard_font_family_map;
39 ScriptFontFamilyMap fixed_font_family_map; 39 ScriptFontFamilyMap fixed_font_family_map;
40 ScriptFontFamilyMap serif_font_family_map; 40 ScriptFontFamilyMap serif_font_family_map;
41 ScriptFontFamilyMap sans_serif_font_family_map; 41 ScriptFontFamilyMap sans_serif_font_family_map;
42 ScriptFontFamilyMap cursive_font_family_map; 42 ScriptFontFamilyMap cursive_font_family_map;
43 ScriptFontFamilyMap fantasy_font_family_map; 43 ScriptFontFamilyMap fantasy_font_family_map;
44 ScriptFontFamilyMap pictograph_font_family_map;
44 int default_font_size; 45 int default_font_size;
45 int default_fixed_font_size; 46 int default_fixed_font_size;
46 int minimum_font_size; 47 int minimum_font_size;
47 int minimum_logical_font_size; 48 int minimum_logical_font_size;
48 std::string default_encoding; 49 std::string default_encoding;
49 bool apply_default_device_scale_factor_in_compositor; 50 bool apply_default_device_scale_factor_in_compositor;
50 bool javascript_enabled; 51 bool javascript_enabled;
51 bool web_security_enabled; 52 bool web_security_enabled;
52 bool javascript_can_open_windows_automatically; 53 bool javascript_can_open_windows_automatically;
53 bool loads_images_automatically; 54 bool loads_images_automatically;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // the embedder to use the same default value. 151 // the embedder to use the same default value.
151 WebPreferences(); 152 WebPreferences();
152 ~WebPreferences(); 153 ~WebPreferences();
153 154
154 void Apply(WebKit::WebView* web_view) const; 155 void Apply(WebKit::WebView* web_view) const;
155 }; 156 };
156 157
157 } // namespace webkit_glue 158 } // namespace webkit_glue
158 159
159 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__ 160 #endif // WEBKIT_GLUE_WEBPREFERENCES_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698