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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled) | 530 void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled) |
531 { | 531 { |
532 m_settings->setAcceleratedCompositingEnabled(enabled); | 532 m_settings->setAcceleratedCompositingEnabled(enabled); |
533 } | 533 } |
534 | 534 |
535 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled) | 535 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled) |
536 { | 536 { |
537 m_settings->setMockScrollbarsEnabled(enabled); | 537 m_settings->setMockScrollbarsEnabled(enabled); |
538 } | 538 } |
539 | 539 |
| 540 void WebSettingsImpl::setHideScrollbars(bool enabled) |
| 541 { |
| 542 m_settings->setHideScrollbars(enabled); |
| 543 } |
| 544 |
540 void WebSettingsImpl::setMockGestureTapHighlightsEnabled(bool enabled) | 545 void WebSettingsImpl::setMockGestureTapHighlightsEnabled(bool enabled) |
541 { | 546 { |
542 m_settings->setMockGestureTapHighlightsEnabled(enabled); | 547 m_settings->setMockGestureTapHighlightsEnabled(enabled); |
543 } | 548 } |
544 | 549 |
545 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count) | 550 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count) |
546 { | 551 { |
547 m_settings->setAccelerated2dCanvasMSAASampleCount(count); | 552 m_settings->setAccelerated2dCanvasMSAASampleCount(count); |
548 } | 553 } |
549 | 554 |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 { | 802 { |
798 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt
rategiesForCacheStorage>(strategies)); | 803 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt
rategiesForCacheStorage>(strategies)); |
799 } | 804 } |
800 | 805 |
801 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) | 806 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) |
802 { | 807 { |
803 m_devToolsEmulator->setViewportStyle(style); | 808 m_devToolsEmulator->setViewportStyle(style); |
804 } | 809 } |
805 | 810 |
806 } // namespace blink | 811 } // namespace blink |
OLD | NEW |