| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 bool webSecurityEnabled; | 82 bool webSecurityEnabled; |
| 83 bool allowUniversalAccessFromFileURLs; | 83 bool allowUniversalAccessFromFileURLs; |
| 84 WebKit::WebSettings::EditingBehavior editingBehavior; | 84 WebKit::WebSettings::EditingBehavior editingBehavior; |
| 85 bool tabsToLinks; | 85 bool tabsToLinks; |
| 86 bool hyperlinkAuditingEnabled; | 86 bool hyperlinkAuditingEnabled; |
| 87 bool caretBrowsingEnabled; | 87 bool caretBrowsingEnabled; |
| 88 bool acceleratedCompositingForVideoEnabled; | 88 bool acceleratedCompositingForVideoEnabled; |
| 89 bool acceleratedCompositingForFixedPositionEnabled; | 89 bool acceleratedCompositingForFixedPositionEnabled; |
| 90 bool acceleratedCompositingForOverflowScrollEnabled; | 90 bool acceleratedCompositingForOverflowScrollEnabled; |
| 91 bool acceleratedCompositingForTransitionEnabled; | 91 bool acceleratedCompositingForTransitionEnabled; |
| 92 bool acceleratedCompositingForFixedRootBackgroundEnabled; |
| 92 bool acceleratedCompositingEnabled; | 93 bool acceleratedCompositingEnabled; |
| 93 bool forceCompositingMode; | 94 bool forceCompositingMode; |
| 94 bool threadedHTMLParser; | 95 bool threadedHTMLParser; |
| 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 |