| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 settings()->setLogPreload(enabled); | 521 settings()->setLogPreload(enabled); |
| 522 } | 522 } |
| 523 | 523 |
| 524 void InternalSettings::setCompositorWorkerEnabled( | 524 void InternalSettings::setCompositorWorkerEnabled( |
| 525 bool enabled, | 525 bool enabled, |
| 526 ExceptionState& exceptionState) { | 526 ExceptionState& exceptionState) { |
| 527 InternalSettingsGuardForSettings(); | 527 InternalSettingsGuardForSettings(); |
| 528 RuntimeEnabledFeatures::setCompositorWorkerEnabled(enabled); | 528 RuntimeEnabledFeatures::setCompositorWorkerEnabled(enabled); |
| 529 } | 529 } |
| 530 | 530 |
| 531 void InternalSettings::setPresentationReceiver(bool enabled, |
| 532 ExceptionState& exceptionState) { |
| 533 InternalSettingsGuardForSettings(); |
| 534 settings()->setPresentationReceiver(enabled); |
| 535 } |
| 536 |
| 531 } // namespace blink | 537 } // namespace blink |
| OLD | NEW |