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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) | 313 void WebSettingsImpl::setFrameFlatteningEnabled(bool enabled) |
314 { | 314 { |
315 m_settings->setFrameFlatteningEnabled(enabled); | 315 // FIXME: Remove this empty method as soon as Chromium no longer tries to |
| 316 // execute it. |
316 } | 317 } |
317 | 318 |
318 void WebSettingsImpl::setFontRenderingModeNormal() | 319 void WebSettingsImpl::setFontRenderingModeNormal() |
319 { | 320 { |
320 // FIXME: If you ever need more behaviors than this, then we should probably | 321 // 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 | 322 // define an enum in WebSettings.h and have a switch statement that |
322 // translates. Until then, this is probably fine, though. | 323 // translates. Until then, this is probably fine, though. |
323 m_settings->setFontRenderingMode(WebCore::NormalRenderingMode); | 324 m_settings->setFontRenderingMode(WebCore::NormalRenderingMode); |
324 } | 325 } |
325 | 326 |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
684 { | 685 { |
685 m_settings->setSelectionIncludesAltImageText(enabled); | 686 m_settings->setSelectionIncludesAltImageText(enabled); |
686 } | 687 } |
687 | 688 |
688 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) | 689 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) |
689 { | 690 { |
690 m_settings->setSmartInsertDeleteEnabled(enabled); | 691 m_settings->setSmartInsertDeleteEnabled(enabled); |
691 } | 692 } |
692 | 693 |
693 } // namespace WebKit | 694 } // namespace WebKit |
OLD | NEW |