Remove PlatformFile from profile_browsertest
[chromium-blink-merge.git] / content / shell / common / test_runner / WebPreferences.h
blobf7060873570c7c15a3dfd36474e073458a3b0d72
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"
12 namespace blink {
13 class WebView;
16 namespace WebTestRunner {
18 struct WebPreferences {
19 int defaultFontSize;
20 int minimumFontSize;
21 bool DOMPasteAllowed;
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;
31 bool javaEnabled;
32 bool javaScriptCanAccessClipboard;
33 bool javaScriptCanOpenWindowsAutomatically;
34 bool supportsMultipleWindows;
35 bool javaScriptEnabled;
36 bool loadsImagesAutomatically;
37 bool offlineWebApplicationCacheEnabled;
38 bool pluginsEnabled;
39 bool allowUniversalAccessFromFileURLs;
40 blink::WebSettings::EditingBehavior editingBehavior;
41 bool tabsToLinks;
42 bool hyperlinkAuditingEnabled;
43 bool caretBrowsingEnabled;
44 bool shouldRespectImageOrientation;
45 bool asynchronousSpellCheckingEnabled;
47 WebPreferences();
48 void reset();
53 #endif // CONTENT_SHELL_COMMON_TEST_RUNNER_WEBPREFERENCES_H_