OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |