OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_SHELL_TEST_RUNNER_TEST_PREFERENCES_H_ |
| 6 #define CONTENT_SHELL_TEST_RUNNER_TEST_PREFERENCES_H_ |
| 7 |
| 8 #include "content/shell/test_runner/test_runner_export.h" |
| 9 #include "third_party/WebKit/public/platform/WebString.h" |
| 10 #include "third_party/WebKit/public/platform/WebURL.h" |
| 11 #include "third_party/WebKit/public/web/WebSettings.h" |
| 12 |
| 13 namespace test_runner { |
| 14 |
| 15 struct TEST_RUNNER_EXPORT TestPreferences { |
| 16 int default_font_size; |
| 17 int minimum_font_size; |
| 18 bool xss_auditor_enabled; |
| 19 bool allow_file_access_from_file_urls; |
| 20 bool allow_running_of_insecure_content; |
| 21 blink::WebString default_text_encoding_name; |
| 22 bool experimental_webgl_enabled; |
| 23 bool experimental_css_grid_layout_enabled; |
| 24 bool java_script_can_access_clipboard; |
| 25 bool java_script_can_open_windows_automatically; |
| 26 bool supports_multiple_windows; |
| 27 bool java_script_enabled; |
| 28 bool loads_images_automatically; |
| 29 bool plugins_enabled; |
| 30 bool allow_universal_access_from_file_urls; |
| 31 blink::WebSettings::EditingBehavior editing_behavior; |
| 32 bool tabs_to_links; |
| 33 bool hyperlink_auditing_enabled; |
| 34 bool caret_browsing_enabled; |
| 35 bool should_respect_image_orientation; |
| 36 bool asynchronous_spell_checking_enabled; |
| 37 bool web_security_enabled; |
| 38 bool disable_reading_from_canvas; |
| 39 bool strict_mixed_content_checking; |
| 40 bool strict_powerful_feature_restrictions; |
| 41 bool spatial_navigation_enabled; |
| 42 |
| 43 TestPreferences(); |
| 44 void Reset(); |
| 45 }; |
| 46 } |
| 47 |
| 48 #endif // CONTENT_SHELL_TEST_RUNNER_TEST_PREFERENCES_H_ |
OLD | NEW |