| 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 } | 303 } |
| 304 | 304 |
| 305 void WebSettingsImpl::setEditableLinkBehaviorNeverLive() | 305 void WebSettingsImpl::setEditableLinkBehaviorNeverLive() |
| 306 { | 306 { |
| 307 // FIXME: If you ever need more behaviors than this, then we should probably | 307 // FIXME: If you ever need more behaviors than this, then we should probably |
| 308 // define an enum in WebSettings.h and have a switch statement that | 308 // define an enum in WebSettings.h and have a switch statement that |
| 309 // translates. Until then, this is probably fine, though. | 309 // translates. Until then, this is probably fine, though. |
| 310 m_settings->setEditableLinkBehavior(WebCore::EditableLinkNeverLive); | 310 m_settings->setEditableLinkBehavior(WebCore::EditableLinkNeverLive); |
| 311 } | 311 } |
| 312 | 312 |
| 313 void WebSettingsImpl::setFrameFlatteningEnabled(bool enabled) | |
| 314 { | |
| 315 m_settings->setFrameFlatteningEnabled(enabled); | |
| 316 } | |
| 317 | |
| 318 void WebSettingsImpl::setFontRenderingModeNormal() | 313 void WebSettingsImpl::setFontRenderingModeNormal() |
| 319 { | 314 { |
| 320 // FIXME: If you ever need more behaviors than this, then we should probably | 315 // FIXME: If you ever need more behaviors than this, then we should probably |
| 321 // define an enum in WebSettings.h and have a switch statement that | 316 // define an enum in WebSettings.h and have a switch statement that |
| 322 // translates. Until then, this is probably fine, though. | 317 // translates. Until then, this is probably fine, though. |
| 323 m_settings->setFontRenderingMode(WebCore::NormalRenderingMode); | 318 m_settings->setFontRenderingMode(WebCore::NormalRenderingMode); |
| 324 } | 319 } |
| 325 | 320 |
| 326 void WebSettingsImpl::setAllowUniversalAccessFromFileURLs(bool allow) | 321 void WebSettingsImpl::setAllowUniversalAccessFromFileURLs(bool allow) |
| 327 { | 322 { |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 684 { | 679 { |
| 685 m_settings->setSelectionIncludesAltImageText(enabled); | 680 m_settings->setSelectionIncludesAltImageText(enabled); |
| 686 } | 681 } |
| 687 | 682 |
| 688 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) | 683 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) |
| 689 { | 684 { |
| 690 m_settings->setSmartInsertDeleteEnabled(enabled); | 685 m_settings->setSmartInsertDeleteEnabled(enabled); |
| 691 } | 686 } |
| 692 | 687 |
| 693 } // namespace WebKit | 688 } // namespace WebKit |
| OLD | NEW |