| 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 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 579 | 579 |
| 580 void WebSettingsImpl::setEnableScrollAnimator(bool enabled) { | 580 void WebSettingsImpl::setEnableScrollAnimator(bool enabled) { |
| 581 m_settings->setScrollAnimatorEnabled(enabled); | 581 m_settings->setScrollAnimatorEnabled(enabled); |
| 582 } | 582 } |
| 583 | 583 |
| 584 void WebSettingsImpl::setEnableTouchAdjustment(bool enabled) { | 584 void WebSettingsImpl::setEnableTouchAdjustment(bool enabled) { |
| 585 m_settings->setTouchAdjustmentEnabled(enabled); | 585 m_settings->setTouchAdjustmentEnabled(enabled); |
| 586 } | 586 } |
| 587 | 587 |
| 588 bool WebSettingsImpl::multiTargetTapNotificationEnabled() { | 588 bool WebSettingsImpl::multiTargetTapNotificationEnabled() { |
| 589 return m_settings->multiTargetTapNotificationEnabled(); | 589 return m_settings->getMultiTargetTapNotificationEnabled(); |
| 590 } | 590 } |
| 591 | 591 |
| 592 void WebSettingsImpl::setMultiTargetTapNotificationEnabled(bool enabled) { | 592 void WebSettingsImpl::setMultiTargetTapNotificationEnabled(bool enabled) { |
| 593 m_settings->setMultiTargetTapNotificationEnabled(enabled); | 593 m_settings->setMultiTargetTapNotificationEnabled(enabled); |
| 594 } | 594 } |
| 595 | 595 |
| 596 bool WebSettingsImpl::viewportEnabled() const { | 596 bool WebSettingsImpl::viewportEnabled() const { |
| 597 return m_settings->viewportEnabled(); | 597 return m_settings->getViewportEnabled(); |
| 598 } | 598 } |
| 599 | 599 |
| 600 bool WebSettingsImpl::viewportMetaEnabled() const { | 600 bool WebSettingsImpl::viewportMetaEnabled() const { |
| 601 return m_settings->viewportMetaEnabled(); | 601 return m_settings->getViewportMetaEnabled(); |
| 602 } | 602 } |
| 603 | 603 |
| 604 bool WebSettingsImpl::doubleTapToZoomEnabled() const { | 604 bool WebSettingsImpl::doubleTapToZoomEnabled() const { |
| 605 return m_devToolsEmulator->doubleTapToZoomEnabled(); | 605 return m_devToolsEmulator->doubleTapToZoomEnabled(); |
| 606 } | 606 } |
| 607 | 607 |
| 608 bool WebSettingsImpl::mockGestureTapHighlightsEnabled() const { | 608 bool WebSettingsImpl::mockGestureTapHighlightsEnabled() const { |
| 609 return m_settings->mockGestureTapHighlightsEnabled(); | 609 return m_settings->getMockGestureTapHighlightsEnabled(); |
| 610 } | 610 } |
| 611 | 611 |
| 612 bool WebSettingsImpl::shrinksViewportContentToFit() const { | 612 bool WebSettingsImpl::shrinksViewportContentToFit() const { |
| 613 return m_shrinksViewportContentToFit; | 613 return m_shrinksViewportContentToFit; |
| 614 } | 614 } |
| 615 | 615 |
| 616 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) { | 616 void WebSettingsImpl::setShouldRespectImageOrientation(bool enabled) { |
| 617 m_settings->setShouldRespectImageOrientation(enabled); | 617 m_settings->setShouldRespectImageOrientation(enabled); |
| 618 } | 618 } |
| 619 | 619 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget( | 709 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget( |
| 710 float maxBudget) { | 710 float maxBudget) { |
| 711 m_expensiveBackgroundThrottlingMaxBudget = maxBudget; | 711 m_expensiveBackgroundThrottlingMaxBudget = maxBudget; |
| 712 } | 712 } |
| 713 | 713 |
| 714 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) { | 714 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) { |
| 715 m_expensiveBackgroundThrottlingMaxDelay = maxDelay; | 715 m_expensiveBackgroundThrottlingMaxDelay = maxDelay; |
| 716 } | 716 } |
| 717 | 717 |
| 718 } // namespace blink | 718 } // namespace blink |
| OLD | NEW |