| 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 void WebSettingsImpl::setEditableLinkBehaviorNeverLive() | 302 void WebSettingsImpl::setEditableLinkBehaviorNeverLive() |
| 303 { | 303 { |
| 304 // FIXME: If you ever need more behaviors than this, then we should probably | 304 // FIXME: If you ever need more behaviors than this, then we should probably |
| 305 // define an enum in WebSettings.h and have a switch statement that | 305 // define an enum in WebSettings.h and have a switch statement that |
| 306 // translates. Until then, this is probably fine, though. | 306 // translates. Until then, this is probably fine, though. |
| 307 m_settings->setEditableLinkBehavior(WebCore::EditableLinkNeverLive); | 307 m_settings->setEditableLinkBehavior(WebCore::EditableLinkNeverLive); |
| 308 } | 308 } |
| 309 | 309 |
| 310 void WebSettingsImpl::setFrameFlatteningEnabled(bool enabled) | 310 void WebSettingsImpl::setFrameFlatteningEnabled(bool enabled) |
| 311 { | 311 { |
| 312 m_settings->setFrameFlatteningEnabled(enabled); | 312 // FIXME: Remove this once Chromium no longer tries to call it. http://crbug
.com/231898 |
| 313 } | 313 } |
| 314 | 314 |
| 315 void WebSettingsImpl::setFontRenderingModeNormal() | 315 void WebSettingsImpl::setFontRenderingModeNormal() |
| 316 { | 316 { |
| 317 // FIXME: If you ever need more behaviors than this, then we should probably | 317 // FIXME: If you ever need more behaviors than this, then we should probably |
| 318 // define an enum in WebSettings.h and have a switch statement that | 318 // define an enum in WebSettings.h and have a switch statement that |
| 319 // translates. Until then, this is probably fine, though. | 319 // translates. Until then, this is probably fine, though. |
| 320 m_settings->setFontRenderingMode(WebCore::NormalRenderingMode); | 320 m_settings->setFontRenderingMode(WebCore::NormalRenderingMode); |
| 321 } | 321 } |
| 322 | 322 |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 684 { | 684 { |
| 685 m_settings->setSelectionIncludesAltImageText(enabled); | 685 m_settings->setSelectionIncludesAltImageText(enabled); |
| 686 } | 686 } |
| 687 | 687 |
| 688 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) | 688 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) |
| 689 { | 689 { |
| 690 m_settings->setSmartInsertDeleteEnabled(enabled); | 690 m_settings->setSmartInsertDeleteEnabled(enabled); |
| 691 } | 691 } |
| 692 | 692 |
| 693 } // namespace WebKit | 693 } // namespace WebKit |
| OLD | NEW |