| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 void WebSettingsImpl::setAcceleratedCompositingForVideoEnabled(bool enabled) | 444 void WebSettingsImpl::setAcceleratedCompositingForVideoEnabled(bool enabled) |
| 445 { | 445 { |
| 446 m_settings->setAcceleratedCompositingForVideoEnabled(enabled); | 446 m_settings->setAcceleratedCompositingForVideoEnabled(enabled); |
| 447 } | 447 } |
| 448 | 448 |
| 449 void WebSettingsImpl::setAcceleratedCompositingForOverflowScrollEnabled(bool ena
bled) | 449 void WebSettingsImpl::setAcceleratedCompositingForOverflowScrollEnabled(bool ena
bled) |
| 450 { | 450 { |
| 451 m_settings->setAcceleratedCompositingForOverflowScrollEnabled(enabled); | 451 m_settings->setAcceleratedCompositingForOverflowScrollEnabled(enabled); |
| 452 } | 452 } |
| 453 | 453 |
| 454 void WebSettingsImpl::setCompositedSelectionUpdatesEnabled(bool enabled) |
| 455 { |
| 456 m_settings->setCompositedSelectionUpdatesEnabled(enabled); |
| 457 } |
| 458 |
| 454 void WebSettingsImpl::setCompositorDrivenAcceleratedScrollingEnabled(bool enable
d) | 459 void WebSettingsImpl::setCompositorDrivenAcceleratedScrollingEnabled(bool enable
d) |
| 455 { | 460 { |
| 456 m_settings->setCompositorDrivenAcceleratedScrollingEnabled(enabled); | 461 m_settings->setCompositorDrivenAcceleratedScrollingEnabled(enabled); |
| 457 } | 462 } |
| 458 | 463 |
| 459 void WebSettingsImpl::setAcceleratedCompositingForFixedRootBackgroundEnabled(boo
l enabled) | 464 void WebSettingsImpl::setAcceleratedCompositingForFixedRootBackgroundEnabled(boo
l enabled) |
| 460 { | 465 { |
| 461 m_settings->setAcceleratedCompositingForFixedRootBackgroundEnabled(enabled); | 466 m_settings->setAcceleratedCompositingForFixedRootBackgroundEnabled(enabled); |
| 462 } | 467 } |
| 463 | 468 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 void WebSettingsImpl::setEnableScrollAnimator(bool enabled) | 585 void WebSettingsImpl::setEnableScrollAnimator(bool enabled) |
| 581 { | 586 { |
| 582 m_settings->setScrollAnimatorEnabled(enabled); | 587 m_settings->setScrollAnimatorEnabled(enabled); |
| 583 } | 588 } |
| 584 | 589 |
| 585 void WebSettingsImpl::setEnableTouchAdjustment(bool enabled) | 590 void WebSettingsImpl::setEnableTouchAdjustment(bool enabled) |
| 586 { | 591 { |
| 587 m_settings->setTouchAdjustmentEnabled(enabled); | 592 m_settings->setTouchAdjustmentEnabled(enabled); |
| 588 } | 593 } |
| 589 | 594 |
| 595 bool WebSettingsImpl::compositedSelectionUpdatesEnabled() const |
| 596 { |
| 597 return m_settings->compositedSelectionUpdatesEnabled(); |
| 598 } |
| 599 |
| 590 bool WebSettingsImpl::scrollAnimatorEnabled() const | 600 bool WebSettingsImpl::scrollAnimatorEnabled() const |
| 591 { | 601 { |
| 592 return m_settings->scrollAnimatorEnabled(); | 602 return m_settings->scrollAnimatorEnabled(); |
| 593 } | 603 } |
| 594 | 604 |
| 595 bool WebSettingsImpl::touchEditingEnabled() const | 605 bool WebSettingsImpl::touchEditingEnabled() const |
| 596 { | 606 { |
| 597 return m_settings->touchEditingEnabled(); | 607 return m_settings->touchEditingEnabled(); |
| 598 } | 608 } |
| 599 | 609 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 706 { | 716 { |
| 707 m_settings->setUseSolidColorScrollbars(enabled); | 717 m_settings->setUseSolidColorScrollbars(enabled); |
| 708 } | 718 } |
| 709 | 719 |
| 710 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) | 720 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) |
| 711 { | 721 { |
| 712 m_mainFrameResizesAreOrientationChanges = enabled; | 722 m_mainFrameResizesAreOrientationChanges = enabled; |
| 713 } | 723 } |
| 714 | 724 |
| 715 } // namespace blink | 725 } // namespace blink |
| OLD | NEW |