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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 { | 418 { |
419 m_settings->setEditingBehaviorType(static_cast<WebCore::EditingBehaviorType>
(behavior)); | 419 m_settings->setEditingBehaviorType(static_cast<WebCore::EditingBehaviorType>
(behavior)); |
420 } | 420 } |
421 | 421 |
422 void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled) | 422 void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled) |
423 { | 423 { |
424 m_settings->setAcceleratedCompositingEnabled(enabled); | 424 m_settings->setAcceleratedCompositingEnabled(enabled); |
425 m_settings->setScrollingCoordinatorEnabled(enabled); | 425 m_settings->setScrollingCoordinatorEnabled(enabled); |
426 } | 426 } |
427 | 427 |
428 void WebSettingsImpl::setForceCompositingMode(bool enabled) | |
429 { | |
430 m_settings->setForceCompositingMode(enabled); | |
431 } | |
432 | |
433 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled) | 428 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled) |
434 { | 429 { |
435 m_settings->setMockScrollbarsEnabled(enabled); | 430 m_settings->setMockScrollbarsEnabled(enabled); |
436 } | 431 } |
437 | 432 |
438 void WebSettingsImpl::setAcceleratedCompositingForFiltersEnabled(bool enabled) | 433 void WebSettingsImpl::setAcceleratedCompositingForFiltersEnabled(bool enabled) |
439 { | 434 { |
440 m_settings->setAcceleratedCompositingForFiltersEnabled(enabled); | 435 m_settings->setAcceleratedCompositingForFiltersEnabled(enabled); |
441 } | 436 } |
442 | 437 |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
705 { | 700 { |
706 m_settings->setUseSolidColorScrollbars(enabled); | 701 m_settings->setUseSolidColorScrollbars(enabled); |
707 } | 702 } |
708 | 703 |
709 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) | 704 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) |
710 { | 705 { |
711 m_mainFrameResizesAreOrientationChanges = enabled; | 706 m_mainFrameResizesAreOrientationChanges = enabled; |
712 } | 707 } |
713 | 708 |
714 } // namespace blink | 709 } // namespace blink |
OLD | NEW |