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