| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 bool pageCacheSupportsPlugins; | 83 bool pageCacheSupportsPlugins; |
| 84 bool webSecurityEnabled; | 84 bool webSecurityEnabled; |
| 85 bool allowUniversalAccessFromFileURLs; | 85 bool allowUniversalAccessFromFileURLs; |
| 86 WebKit::WebSettings::EditingBehavior editingBehavior; | 86 WebKit::WebSettings::EditingBehavior editingBehavior; |
| 87 bool tabsToLinks; | 87 bool tabsToLinks; |
| 88 bool hyperlinkAuditingEnabled; | 88 bool hyperlinkAuditingEnabled; |
| 89 bool caretBrowsingEnabled; | 89 bool caretBrowsingEnabled; |
| 90 bool acceleratedCompositingForVideoEnabled; | 90 bool acceleratedCompositingForVideoEnabled; |
| 91 bool acceleratedCompositingForFixedPositionEnabled; | 91 bool acceleratedCompositingForFixedPositionEnabled; |
| 92 bool acceleratedCompositingForOverflowScrollEnabled; | 92 bool acceleratedCompositingForOverflowScrollEnabled; |
| 93 bool acceleratedCompositingForFixedRootBackgroundEnabled; |
| 93 bool acceleratedCompositingEnabled; | 94 bool acceleratedCompositingEnabled; |
| 94 bool forceCompositingMode; | 95 bool forceCompositingMode; |
| 95 bool threadedHTMLParser; | 96 bool threadedHTMLParser; |
| 96 bool accelerated2dCanvasEnabled; | 97 bool accelerated2dCanvasEnabled; |
| 97 bool perTilePaintingEnabled; | 98 bool perTilePaintingEnabled; |
| 98 bool acceleratedAnimationEnabled; | 99 bool acceleratedAnimationEnabled; |
| 99 bool deferredImageDecodingEnabled; | 100 bool deferredImageDecodingEnabled; |
| 100 bool mediaPlaybackRequiresUserGesture; | 101 bool mediaPlaybackRequiresUserGesture; |
| 101 bool mockScrollbarsEnabled; | 102 bool mockScrollbarsEnabled; |
| 102 bool cssCustomFilterEnabled; | 103 bool cssCustomFilterEnabled; |
| 103 bool shouldRespectImageOrientation; | 104 bool shouldRespectImageOrientation; |
| 104 bool asynchronousSpellCheckingEnabled; | 105 bool asynchronousSpellCheckingEnabled; |
| 105 bool touchDragDropEnabled; | 106 bool touchDragDropEnabled; |
| 106 | 107 |
| 107 WebPreferences() { reset(); } | 108 WebPreferences() { reset(); } |
| 108 void reset(); | 109 void reset(); |
| 109 void applyTo(WebKit::WebView*); | 110 void applyTo(WebKit::WebView*); |
| 110 }; | 111 }; |
| 111 | 112 |
| 112 } | 113 } |
| 113 | 114 |
| 114 #endif // WebPreferences_h | 115 #endif // WebPreferences_h |
| OLD | NEW |