Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Side by Side Diff: content/shell/common/test_runner/WebPreferences.h

Issue 110533009: Import TestRunner library into chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef WebPreferences_h
6 #define WebPreferences_h
7
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"
11
12 namespace blink {
13 class WebView;
14 }
15
16 namespace WebTestRunner {
17
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 cssCustomFilterEnabled;
45 bool shouldRespectImageOrientation;
46 bool asynchronousSpellCheckingEnabled;
47
48 WebPreferences() { reset(); }
49 void reset();
50 };
51
52 }
53
54 #endif // WebPreferences_h
OLDNEW
« no previous file with comments | « content/shell/common/test_runner/OWNERS ('k') | content/shell/common/test_runner/WebPreferences.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698