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 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 void WebSettingsImpl::setSelectTrailingWhitespaceEnabled(bool enabled) | 749 void WebSettingsImpl::setSelectTrailingWhitespaceEnabled(bool enabled) |
750 { | 750 { |
751 m_settings->setSelectTrailingWhitespaceEnabled(enabled); | 751 m_settings->setSelectTrailingWhitespaceEnabled(enabled); |
752 } | 752 } |
753 | 753 |
754 void WebSettingsImpl::setSelectionIncludesAltImageText(bool enabled) | 754 void WebSettingsImpl::setSelectionIncludesAltImageText(bool enabled) |
755 { | 755 { |
756 m_settings->setSelectionIncludesAltImageText(enabled); | 756 m_settings->setSelectionIncludesAltImageText(enabled); |
757 } | 757 } |
758 | 758 |
| 759 void WebSettingsImpl::setSelectionStrategy(SelectionStrategyType strategy) |
| 760 { |
| 761 m_settings->setSelectionStrategy(static_cast<SelectionStrategy>(strategy)); |
| 762 } |
| 763 |
| 764 |
759 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) | 765 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) |
760 { | 766 { |
761 m_settings->setSmartInsertDeleteEnabled(enabled); | 767 m_settings->setSmartInsertDeleteEnabled(enabled); |
762 } | 768 } |
763 | 769 |
764 void WebSettingsImpl::setPinchOverlayScrollbarThickness(int thickness) | 770 void WebSettingsImpl::setPinchOverlayScrollbarThickness(int thickness) |
765 { | 771 { |
766 m_settings->setPinchOverlayScrollbarThickness(thickness); | 772 m_settings->setPinchOverlayScrollbarThickness(thickness); |
767 } | 773 } |
768 | 774 |
(...skipping 11 matching lines...) Expand all Loading... |
780 { | 786 { |
781 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 787 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
782 } | 788 } |
783 | 789 |
784 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) | 790 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) |
785 { | 791 { |
786 m_devToolsEmulator->setUseMobileViewportStyle(enabled); | 792 m_devToolsEmulator->setUseMobileViewportStyle(enabled); |
787 } | 793 } |
788 | 794 |
789 } // namespace blink | 795 } // namespace blink |
OLD | NEW |