| 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 } | 314 } |
| 315 | 315 |
| 316 void WebSettingsImpl::setEditableLinkBehaviorNeverLive() | 316 void WebSettingsImpl::setEditableLinkBehaviorNeverLive() |
| 317 { | 317 { |
| 318 // FIXME: If you ever need more behaviors than this, then we should probably | 318 // FIXME: If you ever need more behaviors than this, then we should probably |
| 319 // define an enum in WebSettings.h and have a switch statement that | 319 // define an enum in WebSettings.h and have a switch statement that |
| 320 // translates. Until then, this is probably fine, though. | 320 // translates. Until then, this is probably fine, though. |
| 321 m_settings->setEditableLinkBehavior(WebCore::EditableLinkNeverLive); | 321 m_settings->setEditableLinkBehavior(WebCore::EditableLinkNeverLive); |
| 322 } | 322 } |
| 323 | 323 |
| 324 void WebSettingsImpl::setFrameFlatteningEnabled(bool enabled) | |
| 325 { | |
| 326 m_settings->setFrameFlatteningEnabled(enabled); | |
| 327 } | |
| 328 | |
| 329 void WebSettingsImpl::setFontRenderingModeNormal() | 324 void WebSettingsImpl::setFontRenderingModeNormal() |
| 330 { | 325 { |
| 331 // FIXME: If you ever need more behaviors than this, then we should probably | 326 // FIXME: If you ever need more behaviors than this, then we should probably |
| 332 // define an enum in WebSettings.h and have a switch statement that | 327 // define an enum in WebSettings.h and have a switch statement that |
| 333 // translates. Until then, this is probably fine, though. | 328 // translates. Until then, this is probably fine, though. |
| 334 m_settings->setFontRenderingMode(WebCore::NormalRenderingMode); | 329 m_settings->setFontRenderingMode(WebCore::NormalRenderingMode); |
| 335 } | 330 } |
| 336 | 331 |
| 337 void WebSettingsImpl::setAllowUniversalAccessFromFileURLs(bool allow) | 332 void WebSettingsImpl::setAllowUniversalAccessFromFileURLs(bool allow) |
| 338 { | 333 { |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 { | 690 { |
| 696 m_settings->setSelectionIncludesAltImageText(enabled); | 691 m_settings->setSelectionIncludesAltImageText(enabled); |
| 697 } | 692 } |
| 698 | 693 |
| 699 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) | 694 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) |
| 700 { | 695 { |
| 701 m_settings->setSmartInsertDeleteEnabled(enabled); | 696 m_settings->setSmartInsertDeleteEnabled(enabled); |
| 702 } | 697 } |
| 703 | 698 |
| 704 } // namespace WebKit | 699 } // namespace WebKit |
| OLD | NEW |