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 void WebSettingsImpl::setEnableScrollAnimator(bool enabled) | 579 void WebSettingsImpl::setEnableScrollAnimator(bool enabled) |
580 { | 580 { |
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 { | 585 { |
586 m_settings->setTouchAdjustmentEnabled(enabled); | 586 m_settings->setTouchAdjustmentEnabled(enabled); |
587 } | 587 } |
588 | 588 |
589 bool WebSettingsImpl::scrollAnimatorEnabled() const | |
590 { | |
591 return m_settings->scrollAnimatorEnabled(); | |
592 } | |
593 | |
594 bool WebSettingsImpl::touchEditingEnabled() const | |
595 { | |
596 return m_settings->touchEditingEnabled(); | |
597 } | |
598 | |
599 bool WebSettingsImpl::viewportEnabled() const | 589 bool WebSettingsImpl::viewportEnabled() const |
600 { | 590 { |
601 return m_settings->viewportEnabled(); | 591 return m_settings->viewportEnabled(); |
602 } | 592 } |
603 | 593 |
604 bool WebSettingsImpl::viewportMetaEnabled() const | |
605 { | |
606 return m_settings->viewportMetaEnabled(); | |
607 } | |
608 | |
609 bool WebSettingsImpl::mainFrameResizesAreOrientationChanges() const | 594 bool WebSettingsImpl::mainFrameResizesAreOrientationChanges() const |
610 { | 595 { |
611 return m_mainFrameResizesAreOrientationChanges; | 596 return m_mainFrameResizesAreOrientationChanges; |
612 } | 597 } |
613 | 598 |
614 bool WebSettingsImpl::shrinksViewportContentToFit() const | 599 bool WebSettingsImpl::shrinksViewportContentToFit() const |
615 { | 600 { |
616 return m_shrinksViewportContentToFit; | 601 return m_shrinksViewportContentToFit; |
617 } | 602 } |
618 | 603 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 { | 685 { |
701 m_mainFrameResizesAreOrientationChanges = enabled; | 686 m_mainFrameResizesAreOrientationChanges = enabled; |
702 } | 687 } |
703 | 688 |
704 void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled) | 689 void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled) |
705 { | 690 { |
706 m_disallowFullscreenForNonMediaElements = enabled; | 691 m_disallowFullscreenForNonMediaElements = enabled; |
707 } | 692 } |
708 | 693 |
709 } // namespace blink | 694 } // namespace blink |
OLD | NEW |