OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef COMPONENTS_TEST_RUNNER_TEST_PREFERENCES_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_PREFERENCES_H_ |
6 #define COMPONENTS_TEST_RUNNER_TEST_PREFERENCES_H_ | 6 #define COMPONENTS_TEST_RUNNER_TEST_PREFERENCES_H_ |
7 | 7 |
8 #include "components/test_runner/test_runner_export.h" | 8 #include "components/test_runner/test_runner_export.h" |
9 #include "third_party/WebKit/public/platform/WebString.h" | 9 #include "third_party/WebKit/public/platform/WebString.h" |
10 #include "third_party/WebKit/public/platform/WebURL.h" | 10 #include "third_party/WebKit/public/platform/WebURL.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 bool dom_paste_allowed; | 22 bool dom_paste_allowed; |
23 bool xss_auditor_enabled; | 23 bool xss_auditor_enabled; |
24 bool allow_display_of_insecure_content; | 24 bool allow_display_of_insecure_content; |
25 bool allow_file_access_from_file_urls; | 25 bool allow_file_access_from_file_urls; |
26 bool allow_running_of_insecure_content; | 26 bool allow_running_of_insecure_content; |
27 bool author_and_user_styles_enabled; | 27 bool author_and_user_styles_enabled; |
28 blink::WebString default_text_encoding_name; | 28 blink::WebString default_text_encoding_name; |
29 bool experimental_webgl_enabled; | 29 bool experimental_webgl_enabled; |
30 bool experimental_css_regions_enabled; | 30 bool experimental_css_regions_enabled; |
31 bool experimental_css_grid_layout_enabled; | 31 bool experimental_css_grid_layout_enabled; |
32 bool java_enabled; | |
33 bool java_script_can_access_clipboard; | 32 bool java_script_can_access_clipboard; |
34 bool java_script_can_open_windows_automatically; | 33 bool java_script_can_open_windows_automatically; |
35 bool supports_multiple_windows; | 34 bool supports_multiple_windows; |
36 bool java_script_enabled; | 35 bool java_script_enabled; |
37 bool loads_images_automatically; | 36 bool loads_images_automatically; |
38 bool offline_web_application_cache_enabled; | 37 bool offline_web_application_cache_enabled; |
39 bool plugins_enabled; | 38 bool plugins_enabled; |
40 bool allow_universal_access_from_file_urls; | 39 bool allow_universal_access_from_file_urls; |
41 blink::WebSettings::EditingBehavior editing_behavior; | 40 blink::WebSettings::EditingBehavior editing_behavior; |
42 bool tabs_to_links; | 41 bool tabs_to_links; |
43 bool hyperlink_auditing_enabled; | 42 bool hyperlink_auditing_enabled; |
44 bool caret_browsing_enabled; | 43 bool caret_browsing_enabled; |
45 bool should_respect_image_orientation; | 44 bool should_respect_image_orientation; |
46 bool asynchronous_spell_checking_enabled; | 45 bool asynchronous_spell_checking_enabled; |
47 bool web_security_enabled; | 46 bool web_security_enabled; |
48 bool disable_reading_from_canvas; | 47 bool disable_reading_from_canvas; |
49 bool strict_mixed_content_checking; | 48 bool strict_mixed_content_checking; |
50 bool strict_powerful_feature_restrictions; | 49 bool strict_powerful_feature_restrictions; |
51 | 50 |
52 TestPreferences(); | 51 TestPreferences(); |
53 void Reset(); | 52 void Reset(); |
54 }; | 53 }; |
55 | 54 |
56 } | 55 } |
57 | 56 |
58 #endif // COMPONENTS_TEST_RUNNER_TEST_PREFERENCES_H_ | 57 #endif // COMPONENTS_TEST_RUNNER_TEST_PREFERENCES_H_ |
OLD | NEW |