OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) | 55 void WebRuntimeFeatures::enableTestOnlyFeatures(bool enable) |
56 { | 56 { |
57 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); | 57 RuntimeEnabledFeatures::setTestFeaturesEnabled(enable); |
58 } | 58 } |
59 | 59 |
60 void WebRuntimeFeatures::enableApplicationCache(bool enable) | 60 void WebRuntimeFeatures::enableApplicationCache(bool enable) |
61 { | 61 { |
62 RuntimeEnabledFeatures::setApplicationCacheEnabled(enable); | 62 RuntimeEnabledFeatures::setApplicationCacheEnabled(enable); |
63 } | 63 } |
64 | 64 |
| 65 void WebRuntimeFeatures::enableCompositedSelectionUpdates(bool enable) |
| 66 { |
| 67 RuntimeEnabledFeatures::setCompositedSelectionUpdatesEnabled(enable); |
| 68 } |
| 69 |
65 void WebRuntimeFeatures::enableDatabase(bool enable) | 70 void WebRuntimeFeatures::enableDatabase(bool enable) |
66 { | 71 { |
67 RuntimeEnabledFeatures::setDatabaseEnabled(enable); | 72 RuntimeEnabledFeatures::setDatabaseEnabled(enable); |
68 } | 73 } |
69 | 74 |
70 void WebRuntimeFeatures::enableDialogElement(bool enable) | 75 void WebRuntimeFeatures::enableDialogElement(bool enable) |
71 { | 76 { |
72 RuntimeEnabledFeatures::setDialogElementEnabled(enable); | 77 RuntimeEnabledFeatures::setDialogElementEnabled(enable); |
73 } | 78 } |
74 | 79 |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 { | 294 { |
290 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); | 295 RuntimeEnabledFeatures::setLayerSquashingEnabled(enable); |
291 } | 296 } |
292 | 297 |
293 void WebRuntimeFeatures::enableShowModalDialog(bool enable) | 298 void WebRuntimeFeatures::enableShowModalDialog(bool enable) |
294 { | 299 { |
295 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); | 300 RuntimeEnabledFeatures::setShowModalDialogEnabled(enable); |
296 } | 301 } |
297 | 302 |
298 } // namespace blink | 303 } // namespace blink |
OLD | NEW |