| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |