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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 WebKit::WebSettings::EditingBehavior editingBehavior; | 85 WebKit::WebSettings::EditingBehavior editingBehavior; |
86 bool tabsToLinks; | 86 bool tabsToLinks; |
87 bool hyperlinkAuditingEnabled; | 87 bool hyperlinkAuditingEnabled; |
88 bool caretBrowsingEnabled; | 88 bool caretBrowsingEnabled; |
89 bool acceleratedCompositingForVideoEnabled; | 89 bool acceleratedCompositingForVideoEnabled; |
90 bool acceleratedCompositingForFixedPositionEnabled; | 90 bool acceleratedCompositingForFixedPositionEnabled; |
91 bool acceleratedCompositingForOverflowScrollEnabled; | 91 bool acceleratedCompositingForOverflowScrollEnabled; |
92 bool acceleratedCompositingEnabled; | 92 bool acceleratedCompositingEnabled; |
93 bool forceCompositingMode; | 93 bool forceCompositingMode; |
94 bool threadedHTMLParser; | 94 bool threadedHTMLParser; |
| 95 bool experimentalCanvasFeaturesEnabled; |
95 bool accelerated2dCanvasEnabled; | 96 bool accelerated2dCanvasEnabled; |
96 bool perTilePaintingEnabled; | 97 bool perTilePaintingEnabled; |
97 bool acceleratedAnimationEnabled; | 98 bool acceleratedAnimationEnabled; |
98 bool deferredImageDecodingEnabled; | 99 bool deferredImageDecodingEnabled; |
99 bool mediaPlaybackRequiresUserGesture; | 100 bool mediaPlaybackRequiresUserGesture; |
100 bool mockScrollbarsEnabled; | 101 bool mockScrollbarsEnabled; |
101 bool cssCustomFilterEnabled; | 102 bool cssCustomFilterEnabled; |
102 bool shouldRespectImageOrientation; | 103 bool shouldRespectImageOrientation; |
103 bool asynchronousSpellCheckingEnabled; | 104 bool asynchronousSpellCheckingEnabled; |
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 |