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