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

Side by Side Diff: webkit/tools/test_shell/test_shell.cc

Issue 4954002: Change default minimum font size to 0 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update the test shell prefs reset function Created 10 years, 1 month 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 | « webkit/glue/webpreferences.cc ('k') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #undef LOG 5 #undef LOG
6 6
7 #include "webkit/tools/test_shell/test_shell.h" 7 #include "webkit/tools/test_shell/test_shell.h"
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 web_prefs_->cursive_font_family = L"Comic Sans MS"; 490 web_prefs_->cursive_font_family = L"Comic Sans MS";
491 web_prefs_->fantasy_font_family = L"Impact"; 491 web_prefs_->fantasy_font_family = L"Impact";
492 #endif 492 #endif
493 web_prefs_->standard_font_family = web_prefs_->serif_font_family; 493 web_prefs_->standard_font_family = web_prefs_->serif_font_family;
494 web_prefs_->fixed_font_family = L"Courier"; 494 web_prefs_->fixed_font_family = L"Courier";
495 web_prefs_->sans_serif_font_family = L"Helvetica"; 495 web_prefs_->sans_serif_font_family = L"Helvetica";
496 496
497 web_prefs_->default_encoding = "ISO-8859-1"; 497 web_prefs_->default_encoding = "ISO-8859-1";
498 web_prefs_->default_font_size = 16; 498 web_prefs_->default_font_size = 16;
499 web_prefs_->default_fixed_font_size = 13; 499 web_prefs_->default_fixed_font_size = 13;
500 web_prefs_->minimum_font_size = 1; 500 web_prefs_->minimum_font_size = 0;
501 web_prefs_->minimum_logical_font_size = 9; 501 web_prefs_->minimum_logical_font_size = 9;
502 web_prefs_->javascript_can_open_windows_automatically = true; 502 web_prefs_->javascript_can_open_windows_automatically = true;
503 web_prefs_->dom_paste_enabled = true; 503 web_prefs_->dom_paste_enabled = true;
504 web_prefs_->developer_extras_enabled = !layout_test_mode_ || 504 web_prefs_->developer_extras_enabled = !layout_test_mode_ ||
505 developer_extras_enabled_; 505 developer_extras_enabled_;
506 web_prefs_->site_specific_quirks_enabled = true; 506 web_prefs_->site_specific_quirks_enabled = true;
507 web_prefs_->shrinks_standalone_images_to_fit = false; 507 web_prefs_->shrinks_standalone_images_to_fit = false;
508 web_prefs_->uses_universal_detector = false; 508 web_prefs_->uses_universal_detector = false;
509 web_prefs_->text_areas_are_resizable = false; 509 web_prefs_->text_areas_are_resizable = false;
510 web_prefs_->java_enabled = false; 510 web_prefs_->java_enabled = false;
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 return -1; 873 return -1;
874 } 874 }
875 875
876 bool GetFontTable(int fd, uint32_t table, uint8_t* output, 876 bool GetFontTable(int fd, uint32_t table, uint8_t* output,
877 size_t* output_length) { 877 size_t* output_length) {
878 return false; 878 return false;
879 } 879 }
880 #endif 880 #endif
881 881
882 } // namespace webkit_glue 882 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/webpreferences.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698