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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 void WebRuntimeFeatures::enableAudioOutputDevices(bool enable) | 63 void WebRuntimeFeatures::enableAudioOutputDevices(bool enable) |
64 { | 64 { |
65 RuntimeEnabledFeatures::setAudioOutputDevicesEnabled(enable); | 65 RuntimeEnabledFeatures::setAudioOutputDevicesEnabled(enable); |
66 } | 66 } |
67 | 67 |
68 void WebRuntimeFeatures::enableCanvas2dImageChromium(bool enable) | 68 void WebRuntimeFeatures::enableCanvas2dImageChromium(bool enable) |
69 { | 69 { |
70 RuntimeEnabledFeatures::setCanvas2dImageChromiumEnabled(enable); | 70 RuntimeEnabledFeatures::setCanvas2dImageChromiumEnabled(enable); |
71 } | 71 } |
72 | 72 |
| 73 void WebRuntimeFeatures::enableColorCorrectRendering(bool enable) |
| 74 { |
| 75 RuntimeEnabledFeatures::setColorCorrectRenderingEnabled(enable); |
| 76 } |
| 77 |
73 void WebRuntimeFeatures::enableCompositedSelectionUpdate(bool enable) | 78 void WebRuntimeFeatures::enableCompositedSelectionUpdate(bool enable) |
74 { | 79 { |
75 RuntimeEnabledFeatures::setCompositedSelectionUpdateEnabled(enable); | 80 RuntimeEnabledFeatures::setCompositedSelectionUpdateEnabled(enable); |
76 } | 81 } |
77 | 82 |
78 bool WebRuntimeFeatures::isCompositedSelectionUpdateEnabled() | 83 bool WebRuntimeFeatures::isCompositedSelectionUpdateEnabled() |
79 { | 84 { |
80 return RuntimeEnabledFeatures::compositedSelectionUpdateEnabled(); | 85 return RuntimeEnabledFeatures::compositedSelectionUpdateEnabled(); |
81 } | 86 } |
82 | 87 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 void WebRuntimeFeatures::enableFastMobileScrolling(bool enable) | 133 void WebRuntimeFeatures::enableFastMobileScrolling(bool enable) |
129 { | 134 { |
130 RuntimeEnabledFeatures::setFastMobileScrollingEnabled(enable); | 135 RuntimeEnabledFeatures::setFastMobileScrollingEnabled(enable); |
131 } | 136 } |
132 | 137 |
133 void WebRuntimeFeatures::enableFileSystem(bool enable) | 138 void WebRuntimeFeatures::enableFileSystem(bool enable) |
134 { | 139 { |
135 RuntimeEnabledFeatures::setFileSystemEnabled(enable); | 140 RuntimeEnabledFeatures::setFileSystemEnabled(enable); |
136 } | 141 } |
137 | 142 |
138 void WebRuntimeFeatures::enableImageColorProfiles(bool enable) | |
139 { | |
140 RuntimeEnabledFeatures::setImageColorProfilesEnabled(enable); | |
141 } | |
142 | |
143 void WebRuntimeFeatures::enableInputMultipleFieldsUI(bool enable) | 143 void WebRuntimeFeatures::enableInputMultipleFieldsUI(bool enable) |
144 { | 144 { |
145 RuntimeEnabledFeatures::setInputMultipleFieldsUIEnabled(enable); | 145 RuntimeEnabledFeatures::setInputMultipleFieldsUIEnabled(enable); |
146 } | 146 } |
147 | 147 |
148 void WebRuntimeFeatures::enableMediaCapture(bool enable) | 148 void WebRuntimeFeatures::enableMediaCapture(bool enable) |
149 { | 149 { |
150 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); | 150 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); |
151 } | 151 } |
152 | 152 |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 { | 344 { |
345 RuntimeEnabledFeatures::setAutoplayMutedVideosEnabled(enable); | 345 RuntimeEnabledFeatures::setAutoplayMutedVideosEnabled(enable); |
346 } | 346 } |
347 | 347 |
348 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab
le) | 348 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab
le) |
349 { | 349 { |
350 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en
able); | 350 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en
able); |
351 } | 351 } |
352 | 352 |
353 } // namespace blink | 353 } // namespace blink |
OLD | NEW |