Enable right clicking on the applist doodle web contents and log the data.
[chromium-blink-merge.git] / content / shell / common / test_runner / test_preferences.h
blobef4c90dcd3c546fa16fa4a06ecfb07f5ab21cfe9
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.
5 #ifndef CONTENT_SHELL_COMMON_TEST_RUNNER_TEST_PREFERENCES_H_
6 #define CONTENT_SHELL_COMMON_TEST_RUNNER_TEST_PREFERENCES_H_
8 #include "third_party/WebKit/public/platform/WebString.h"
9 #include "third_party/WebKit/public/platform/WebURL.h"
10 #include "third_party/WebKit/public/web/WebSettings.h"
12 namespace blink {
13 class WebView;
16 namespace content {
18 struct TestPreferences {
19 int default_font_size;
20 int minimum_font_size;
21 bool dom_paste_allowed;
22 bool xss_auditor_enabled;
23 bool allow_display_of_insecure_content;
24 bool allow_file_access_from_file_urls;
25 bool allow_running_of_insecure_content;
26 bool author_and_user_styles_enabled;
27 blink::WebString default_text_encoding_name;
28 bool experimental_webgl_enabled;
29 bool experimental_css_regions_enabled;
30 bool experimental_css_grid_layout_enabled;
31 bool java_enabled;
32 bool java_script_can_access_clipboard;
33 bool java_script_can_open_windows_automatically;
34 bool supports_multiple_windows;
35 bool java_script_enabled;
36 bool loads_images_automatically;
37 bool offline_web_application_cache_enabled;
38 bool plugins_enabled;
39 bool allow_universal_access_from_file_urls;
40 blink::WebSettings::EditingBehavior editing_behavior;
41 bool tabs_to_links;
42 bool hyperlink_auditing_enabled;
43 bool caret_browsing_enabled;
44 bool should_respect_image_orientation;
45 bool asynchronous_spell_checking_enabled;
46 bool web_security_enabled;
47 bool disable_reading_from_canvas;
48 bool strict_mixed_content_checking;
49 bool strict_powerful_feature_restrictions;
51 TestPreferences();
52 void Reset();
57 #endif // CONTENT_SHELL_COMMON_TEST_RUNNER_TEST_PREFERENCES_H_