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

Side by Side Diff: Tools/DumpRenderTree/chromium/TestRunner/public/WebPreferences.h

Issue 14324009: Add support for disabling CSS Properties at runtime (Closed) Base URL: http://src.chromium.org/blink/trunk/Source/
Patch Set: Runtime guard more uses of CSSPropertyID, per Elliot's request. Created 7 years, 8 months 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 bool DOMPasteAllowed; 59 bool DOMPasteAllowed;
60 bool XSSAuditorEnabled; 60 bool XSSAuditorEnabled;
61 bool allowDisplayOfInsecureContent; 61 bool allowDisplayOfInsecureContent;
62 bool allowFileAccessFromFileURLs; 62 bool allowFileAccessFromFileURLs;
63 bool allowRunningOfInsecureContent; 63 bool allowRunningOfInsecureContent;
64 bool authorAndUserStylesEnabled; 64 bool authorAndUserStylesEnabled;
65 WebKit::WebString defaultTextEncodingName; 65 WebKit::WebString defaultTextEncodingName;
66 bool experimentalWebGLEnabled; 66 bool experimentalWebGLEnabled;
67 bool experimentalCSSRegionsEnabled; 67 bool experimentalCSSRegionsEnabled;
68 bool experimentalCSSExclusionsEnabled;
68 bool experimentalCSSGridLayoutEnabled; 69 bool experimentalCSSGridLayoutEnabled;
69 bool javaEnabled; 70 bool javaEnabled;
70 bool javaScriptCanAccessClipboard; 71 bool javaScriptCanAccessClipboard;
71 bool javaScriptCanOpenWindowsAutomatically; 72 bool javaScriptCanOpenWindowsAutomatically;
72 bool supportsMultipleWindows; 73 bool supportsMultipleWindows;
73 bool javaScriptEnabled; 74 bool javaScriptEnabled;
74 bool loadsImagesAutomatically; 75 bool loadsImagesAutomatically;
75 bool localStorageEnabled; 76 bool localStorageEnabled;
76 bool offlineWebApplicationCacheEnabled; 77 bool offlineWebApplicationCacheEnabled;
77 bool pluginsEnabled; 78 bool pluginsEnabled;
(...skipping 26 matching lines...) Expand all
104 bool touchDragDropEnabled; 105 bool touchDragDropEnabled;
105 106
106 WebPreferences() { reset(); } 107 WebPreferences() { reset(); }
107 void reset(); 108 void reset();
108 void applyTo(WebKit::WebView*); 109 void applyTo(WebKit::WebView*);
109 }; 110 };
110 111
111 } 112 }
112 113
113 #endif // WebPreferences_h 114 #endif // WebPreferences_h
OLDNEW
« no previous file with comments | « Source/core/page/RuntimeCSSEnabled.cpp ('k') | Tools/DumpRenderTree/chromium/TestRunner/src/WebPreferences.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698