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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 void WebSettingsImpl::setPreferCompositingToLCDTextEnabled(bool enabled) | 555 void WebSettingsImpl::setPreferCompositingToLCDTextEnabled(bool enabled) |
556 { | 556 { |
557 m_devToolsEmulator->setPreferCompositingToLCDTextEnabled(enabled); | 557 m_devToolsEmulator->setPreferCompositingToLCDTextEnabled(enabled); |
558 } | 558 } |
559 | 559 |
560 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels) | 560 void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels) |
561 { | 561 { |
562 m_settings->setMinimumAccelerated2dCanvasSize(numPixels); | 562 m_settings->setMinimumAccelerated2dCanvasSize(numPixels); |
563 } | 563 } |
564 | 564 |
| 565 void WebSettingsImpl::setHistoryEntryRequiresUserGesture(bool enabled) |
| 566 { |
| 567 m_settings->setHistoryEntryRequiresUserGesture(enabled); |
| 568 } |
| 569 |
565 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled) | 570 void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled) |
566 { | 571 { |
567 m_settings->setHyperlinkAuditingEnabled(enabled); | 572 m_settings->setHyperlinkAuditingEnabled(enabled); |
568 } | 573 } |
569 | 574 |
570 void WebSettingsImpl::setAutoplayExperimentMode(const WebString& mode) | 575 void WebSettingsImpl::setAutoplayExperimentMode(const WebString& mode) |
571 { | 576 { |
572 m_settings->setAutoplayExperimentMode(mode); | 577 m_settings->setAutoplayExperimentMode(mode); |
573 } | 578 } |
574 | 579 |
(...skipping 212 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 |