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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled) | 525 void WebSettingsImpl::setAcceleratedCompositingEnabled(bool enabled) |
526 { | 526 { |
527 m_settings->setAcceleratedCompositingEnabled(enabled); | 527 m_settings->setAcceleratedCompositingEnabled(enabled); |
528 } | 528 } |
529 | 529 |
530 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled) | 530 void WebSettingsImpl::setMockScrollbarsEnabled(bool enabled) |
531 { | 531 { |
532 m_settings->setMockScrollbarsEnabled(enabled); | 532 m_settings->setMockScrollbarsEnabled(enabled); |
533 } | 533 } |
534 | 534 |
| 535 void WebSettingsImpl::setHideScrollbars(bool enabled) |
| 536 { |
| 537 m_settings->setHideScrollbars(enabled); |
| 538 } |
| 539 |
535 void WebSettingsImpl::setMockGestureTapHighlightsEnabled(bool enabled) | 540 void WebSettingsImpl::setMockGestureTapHighlightsEnabled(bool enabled) |
536 { | 541 { |
537 m_settings->setMockGestureTapHighlightsEnabled(enabled); | 542 m_settings->setMockGestureTapHighlightsEnabled(enabled); |
538 } | 543 } |
539 | 544 |
540 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count) | 545 void WebSettingsImpl::setAccelerated2dCanvasMSAASampleCount(int count) |
541 { | 546 { |
542 m_settings->setAccelerated2dCanvasMSAASampleCount(count); | 547 m_settings->setAccelerated2dCanvasMSAASampleCount(count); |
543 } | 548 } |
544 | 549 |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 { | 792 { |
788 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt
rategiesForCacheStorage>(strategies)); | 793 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt
rategiesForCacheStorage>(strategies)); |
789 } | 794 } |
790 | 795 |
791 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) | 796 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) |
792 { | 797 { |
793 m_devToolsEmulator->setViewportStyle(style); | 798 m_devToolsEmulator->setViewportStyle(style); |
794 } | 799 } |
795 | 800 |
796 } // namespace blink | 801 } // namespace blink |
OLD | NEW |