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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 void WebRuntimeFeatures::enableAudioOutputDevices(bool enable) | 68 void WebRuntimeFeatures::enableAudioOutputDevices(bool enable) |
69 { | 69 { |
70 RuntimeEnabledFeatures::setAudioOutputDevicesEnabled(enable); | 70 RuntimeEnabledFeatures::setAudioOutputDevicesEnabled(enable); |
71 } | 71 } |
72 | 72 |
73 void WebRuntimeFeatures::enableCanvas2dImageChromium(bool enable) | 73 void WebRuntimeFeatures::enableCanvas2dImageChromium(bool enable) |
74 { | 74 { |
75 RuntimeEnabledFeatures::setCanvas2dImageChromiumEnabled(enable); | 75 RuntimeEnabledFeatures::setCanvas2dImageChromiumEnabled(enable); |
76 } | 76 } |
77 | 77 |
| 78 void WebRuntimeFeatures::enableColorCorrectRendering(bool enable) |
| 79 { |
| 80 RuntimeEnabledFeatures::setColorCorrectRenderingEnabled(enable); |
| 81 } |
| 82 |
78 void WebRuntimeFeatures::enableCompositedSelectionUpdate(bool enable) | 83 void WebRuntimeFeatures::enableCompositedSelectionUpdate(bool enable) |
79 { | 84 { |
80 RuntimeEnabledFeatures::setCompositedSelectionUpdateEnabled(enable); | 85 RuntimeEnabledFeatures::setCompositedSelectionUpdateEnabled(enable); |
81 } | 86 } |
82 | 87 |
83 bool WebRuntimeFeatures::isCompositedSelectionUpdateEnabled() | 88 bool WebRuntimeFeatures::isCompositedSelectionUpdateEnabled() |
84 { | 89 { |
85 return RuntimeEnabledFeatures::compositedSelectionUpdateEnabled(); | 90 return RuntimeEnabledFeatures::compositedSelectionUpdateEnabled(); |
86 } | 91 } |
87 | 92 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 void WebRuntimeFeatures::enableFastMobileScrolling(bool enable) | 138 void WebRuntimeFeatures::enableFastMobileScrolling(bool enable) |
134 { | 139 { |
135 RuntimeEnabledFeatures::setFastMobileScrollingEnabled(enable); | 140 RuntimeEnabledFeatures::setFastMobileScrollingEnabled(enable); |
136 } | 141 } |
137 | 142 |
138 void WebRuntimeFeatures::enableFileSystem(bool enable) | 143 void WebRuntimeFeatures::enableFileSystem(bool enable) |
139 { | 144 { |
140 RuntimeEnabledFeatures::setFileSystemEnabled(enable); | 145 RuntimeEnabledFeatures::setFileSystemEnabled(enable); |
141 } | 146 } |
142 | 147 |
143 void WebRuntimeFeatures::enableImageColorProfiles(bool enable) | |
144 { | |
145 RuntimeEnabledFeatures::setImageColorProfilesEnabled(enable); | |
146 } | |
147 | |
148 void WebRuntimeFeatures::enableInputMultipleFieldsUI(bool enable) | 148 void WebRuntimeFeatures::enableInputMultipleFieldsUI(bool enable) |
149 { | 149 { |
150 RuntimeEnabledFeatures::setInputMultipleFieldsUIEnabled(enable); | 150 RuntimeEnabledFeatures::setInputMultipleFieldsUIEnabled(enable); |
151 } | 151 } |
152 | 152 |
153 void WebRuntimeFeatures::enableMediaCapture(bool enable) | 153 void WebRuntimeFeatures::enableMediaCapture(bool enable) |
154 { | 154 { |
155 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); | 155 RuntimeEnabledFeatures::setMediaCaptureEnabled(enable); |
156 } | 156 } |
157 | 157 |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 { | 359 { |
360 RuntimeEnabledFeatures::setTimerThrottlingForBackgroundTabsEnabled(enable); | 360 RuntimeEnabledFeatures::setTimerThrottlingForBackgroundTabsEnabled(enable); |
361 } | 361 } |
362 | 362 |
363 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab
le) | 363 void WebRuntimeFeatures::enableSendBeaconThrowForBlobWithNonSimpleType(bool enab
le) |
364 { | 364 { |
365 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en
able); | 365 RuntimeEnabledFeatures::setSendBeaconThrowForBlobWithNonSimpleTypeEnabled(en
able); |
366 } | 366 } |
367 | 367 |
368 } // namespace blink | 368 } // namespace blink |
OLD | NEW |