| OLD | NEW |
| 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 #include "content/shell/webkit_test_helpers.h" | 5 #include "content/shell/webkit_test_helpers.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "content/shell/shell_switches.h" | 9 #include "content/shell/shell_switches.h" |
| 10 #include "third_party/WebKit/Tools/DumpRenderTree/chromium/TestRunner/public/Web
Preferences.h" | 10 #include "third_party/WebKit/Tools/DumpRenderTree/chromium/TestRunner/public/Web
Preferences.h" |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 ASCIIToUTF16("Courier"); | 98 ASCIIToUTF16("Courier"); |
| 99 prefs->sans_serif_font_family_map[ | 99 prefs->sans_serif_font_family_map[ |
| 100 webkit_glue::WebPreferences::kCommonScript] = ASCIIToUTF16("Helvetica"); | 100 webkit_glue::WebPreferences::kCommonScript] = ASCIIToUTF16("Helvetica"); |
| 101 prefs->minimum_logical_font_size = 9; | 101 prefs->minimum_logical_font_size = 9; |
| 102 prefs->asynchronous_spell_checking_enabled = false; | 102 prefs->asynchronous_spell_checking_enabled = false; |
| 103 prefs->user_style_sheet_enabled = true; | 103 prefs->user_style_sheet_enabled = true; |
| 104 prefs->threaded_html_parser = true; | 104 prefs->threaded_html_parser = true; |
| 105 prefs->accelerated_2d_canvas_enabled = | 105 prefs->accelerated_2d_canvas_enabled = |
| 106 command_line.HasSwitch(switches::kEnableAccelerated2DCanvas); | 106 command_line.HasSwitch(switches::kEnableAccelerated2DCanvas); |
| 107 prefs->accelerated_compositing_for_video_enabled = false; | 107 prefs->accelerated_compositing_for_video_enabled = false; |
| 108 prefs->deferred_2d_canvas_enabled = false; | |
| 109 prefs->mock_scrollbars_enabled = false; | 108 prefs->mock_scrollbars_enabled = false; |
| 110 prefs->fixed_position_creates_stacking_context = false; | 109 prefs->fixed_position_creates_stacking_context = false; |
| 111 prefs->apply_page_scale_factor_in_compositor = false; | 110 prefs->apply_page_scale_factor_in_compositor = false; |
| 112 prefs->smart_insert_delete_enabled = true; | 111 prefs->smart_insert_delete_enabled = true; |
| 113 prefs->minimum_accelerated_2d_canvas_size = 0; | 112 prefs->minimum_accelerated_2d_canvas_size = 0; |
| 114 } | 113 } |
| 115 | 114 |
| 116 } // namespace content | 115 } // namespace content |
| OLD | NEW |