1 // Copyright 2013 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_WEBPREFERENCES_H_
6 #define CONTENT_SHELL_COMMON_TEST_RUNNER_WEBPREFERENCES_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"
16 namespace WebTestRunner
{
18 struct WebPreferences
{
22 bool XSSAuditorEnabled
;
23 bool allowDisplayOfInsecureContent
;
24 bool allowFileAccessFromFileURLs
;
25 bool allowRunningOfInsecureContent
;
26 bool authorAndUserStylesEnabled
;
27 blink::WebString defaultTextEncodingName
;
28 bool experimentalWebGLEnabled
;
29 bool experimentalCSSRegionsEnabled
;
30 bool experimentalCSSGridLayoutEnabled
;
32 bool javaScriptCanAccessClipboard
;
33 bool javaScriptCanOpenWindowsAutomatically
;
34 bool supportsMultipleWindows
;
35 bool javaScriptEnabled
;
36 bool loadsImagesAutomatically
;
37 bool offlineWebApplicationCacheEnabled
;
39 bool allowUniversalAccessFromFileURLs
;
40 blink::WebSettings::EditingBehavior editingBehavior
;
42 bool hyperlinkAuditingEnabled
;
43 bool caretBrowsingEnabled
;
44 bool shouldRespectImageOrientation
;
45 bool asynchronousSpellCheckingEnabled
;
53 #endif // CONTENT_SHELL_COMMON_TEST_RUNNER_WEBPREFERENCES_H_