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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 { | 423 { |
424 m_settings->setEditingBehaviorType(static_cast<WebCore::EditingBehaviorType>
(behavior)); | 424 m_settings->setEditingBehaviorType(static_cast<WebCore::EditingBehaviorType>
(behavior)); |
425 } | 425 } |
426 | 426 |
427 void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled) | 427 void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled) |
428 { | 428 { |
429 m_settings->setAcceleratedCompositingEnabled(enabled); | 429 m_settings->setAcceleratedCompositingEnabled(enabled); |
430 m_settings->setScrollingCoordinatorEnabled(enabled); | 430 m_settings->setScrollingCoordinatorEnabled(enabled); |
431 } | 431 } |
432 | 432 |
433 void WebSettingsImpl::setForceCompositingMode(bool enabled) | |
434 { | |
435 m_settings->setForceCompositingMode(enabled); | |
436 } | |
437 | |
438 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled) | 433 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled) |
439 { | 434 { |
440 m_settings->setMockScrollbarsEnabled(enabled); | 435 m_settings->setMockScrollbarsEnabled(enabled); |
441 } | 436 } |
442 | 437 |
443 void WebSettingsImpl::setAcceleratedCompositingForFiltersEnabled(bool enabled) | 438 void WebSettingsImpl::setAcceleratedCompositingForFiltersEnabled(bool enabled) |
444 { | 439 { |
445 m_settings->setAcceleratedCompositingForFiltersEnabled(enabled); | 440 m_settings->setAcceleratedCompositingForFiltersEnabled(enabled); |
446 } | 441 } |
447 | 442 |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 { | 705 { |
711 m_settings->setUseSolidColorScrollbars(enabled); | 706 m_settings->setUseSolidColorScrollbars(enabled); |
712 } | 707 } |
713 | 708 |
714 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) | 709 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) |
715 { | 710 { |
716 m_mainFrameResizesAreOrientationChanges = enabled; | 711 m_mainFrameResizesAreOrientationChanges = enabled; |
717 } | 712 } |
718 | 713 |
719 } // namespace blink | 714 } // namespace blink |
OLD | NEW |