| 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 // define an enum in WebSettings.h and have a switch statement that | 350 // define an enum in WebSettings.h and have a switch statement that |
| 351 // translates. Until then, this is probably fine, though. | 351 // translates. Until then, this is probably fine, though. |
| 352 m_settings->setTextDirectionSubmenuInclusionBehavior(WebCore::TextDirectionS
ubmenuNeverIncluded); | 352 m_settings->setTextDirectionSubmenuInclusionBehavior(WebCore::TextDirectionS
ubmenuNeverIncluded); |
| 353 } | 353 } |
| 354 | 354 |
| 355 void WebSettingsImpl::setTouchDragDropEnabled(bool enabled) | 355 void WebSettingsImpl::setTouchDragDropEnabled(bool enabled) |
| 356 { | 356 { |
| 357 m_settings->setTouchDragDropEnabled(enabled); | 357 m_settings->setTouchDragDropEnabled(enabled); |
| 358 } | 358 } |
| 359 | 359 |
| 360 void WebSettingsImpl::setTouchEditingEnabled(bool enabled) |
| 361 { |
| 362 m_settings->setTouchEditingEnabled(enabled); |
| 363 } |
| 364 |
| 360 void WebSettingsImpl::setThreadedHTMLParser(bool enabled) | 365 void WebSettingsImpl::setThreadedHTMLParser(bool enabled) |
| 361 { | 366 { |
| 362 m_settings->setThreadedHTMLParser(enabled); | 367 m_settings->setThreadedHTMLParser(enabled); |
| 363 } | 368 } |
| 364 | 369 |
| 365 void WebSettingsImpl::setOfflineWebApplicationCacheEnabled(bool enabled) | 370 void WebSettingsImpl::setOfflineWebApplicationCacheEnabled(bool enabled) |
| 366 { | 371 { |
| 367 m_settings->setOfflineWebApplicationCacheEnabled(enabled); | 372 m_settings->setOfflineWebApplicationCacheEnabled(enabled); |
| 368 } | 373 } |
| 369 | 374 |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 void WebSettingsImpl::setEnableTouchAdjustment(bool enabled) | 617 void WebSettingsImpl::setEnableTouchAdjustment(bool enabled) |
| 613 { | 618 { |
| 614 m_settings->setTouchAdjustmentEnabled(enabled); | 619 m_settings->setTouchAdjustmentEnabled(enabled); |
| 615 } | 620 } |
| 616 | 621 |
| 617 bool WebSettingsImpl::scrollAnimatorEnabled() const | 622 bool WebSettingsImpl::scrollAnimatorEnabled() const |
| 618 { | 623 { |
| 619 return m_settings->scrollAnimatorEnabled(); | 624 return m_settings->scrollAnimatorEnabled(); |
| 620 } | 625 } |
| 621 | 626 |
| 627 bool WebSettingsImpl::touchEditingEnabled() const |
| 628 { |
| 629 return m_settings->touchEditingEnabled(); |
| 630 } |
| 631 |
| 622 void WebSettingsImpl::setVisualWordMovementEnabled(bool enabled) | 632 void WebSettingsImpl::setVisualWordMovementEnabled(bool enabled) |
| 623 { | 633 { |
| 624 m_settings->setVisualWordMovementEnabled(enabled); | 634 m_settings->setVisualWordMovementEnabled(enabled); |
| 625 } | 635 } |
| 626 | 636 |
| 627 void WebSettingsImpl::setShouldDisplaySubtitles(bool enabled) | 637 void WebSettingsImpl::setShouldDisplaySubtitles(bool enabled) |
| 628 { | 638 { |
| 629 m_settings->setShouldDisplaySubtitles(enabled); | 639 m_settings->setShouldDisplaySubtitles(enabled); |
| 630 } | 640 } |
| 631 | 641 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 693 { | 703 { |
| 694 m_settings->setSelectionIncludesAltImageText(enabled); | 704 m_settings->setSelectionIncludesAltImageText(enabled); |
| 695 } | 705 } |
| 696 | 706 |
| 697 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) | 707 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) |
| 698 { | 708 { |
| 699 m_settings->setSmartInsertDeleteEnabled(enabled); | 709 m_settings->setSmartInsertDeleteEnabled(enabled); |
| 700 } | 710 } |
| 701 | 711 |
| 702 } // namespace WebKit | 712 } // namespace WebKit |
| OLD | NEW |