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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 void WebSettingsImpl::setAllowUniversalAccessFromFileURLs(bool allow) | 323 void WebSettingsImpl::setAllowUniversalAccessFromFileURLs(bool allow) |
324 { | 324 { |
325 m_settings->setAllowUniversalAccessFromFileURLs(allow); | 325 m_settings->setAllowUniversalAccessFromFileURLs(allow); |
326 } | 326 } |
327 | 327 |
328 void WebSettingsImpl::setAllowFileAccessFromFileURLs(bool allow) | 328 void WebSettingsImpl::setAllowFileAccessFromFileURLs(bool allow) |
329 { | 329 { |
330 m_settings->setAllowFileAccessFromFileURLs(allow); | 330 m_settings->setAllowFileAccessFromFileURLs(allow); |
331 } | 331 } |
332 | 332 |
333 void WebSettingsImpl::setTextDirectionSubmenuInclusionBehaviorNeverIncluded() | |
334 { | |
335 // FIXME: If you ever need more behaviors than this, then we should probably | |
336 // define an enum in WebSettings.h and have a switch statement that | |
337 // translates. Until then, this is probably fine, though. | |
338 m_settings->setTextDirectionSubmenuInclusionBehavior(WebCore::TextDirectionS
ubmenuNeverIncluded); | |
339 } | |
340 | |
341 void WebSettingsImpl::setTouchDragDropEnabled(bool enabled) | 333 void WebSettingsImpl::setTouchDragDropEnabled(bool enabled) |
342 { | 334 { |
343 m_settings->setTouchDragDropEnabled(enabled); | 335 m_settings->setTouchDragDropEnabled(enabled); |
344 } | 336 } |
345 | 337 |
346 void WebSettingsImpl::setTouchEditingEnabled(bool enabled) | 338 void WebSettingsImpl::setTouchEditingEnabled(bool enabled) |
347 { | 339 { |
348 m_settings->setTouchEditingEnabled(enabled); | 340 m_settings->setTouchEditingEnabled(enabled); |
349 } | 341 } |
350 | 342 |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
684 { | 676 { |
685 m_settings->setSelectionIncludesAltImageText(enabled); | 677 m_settings->setSelectionIncludesAltImageText(enabled); |
686 } | 678 } |
687 | 679 |
688 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) | 680 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) |
689 { | 681 { |
690 m_settings->setSmartInsertDeleteEnabled(enabled); | 682 m_settings->setSmartInsertDeleteEnabled(enabled); |
691 } | 683 } |
692 | 684 |
693 } // namespace WebKit | 685 } // namespace WebKit |
OLD | NEW |