| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 void WebSettingsImpl::setJavaScriptEnabled(bool enabled) | 196 void WebSettingsImpl::setJavaScriptEnabled(bool enabled) |
| 197 { | 197 { |
| 198 m_devToolsEmulator->setScriptEnabled(enabled); | 198 m_devToolsEmulator->setScriptEnabled(enabled); |
| 199 } | 199 } |
| 200 | 200 |
| 201 void WebSettingsImpl::setWebSecurityEnabled(bool enabled) | 201 void WebSettingsImpl::setWebSecurityEnabled(bool enabled) |
| 202 { | 202 { |
| 203 m_settings->setWebSecurityEnabled(enabled); | 203 m_settings->setWebSecurityEnabled(enabled); |
| 204 } | 204 } |
| 205 | 205 |
| 206 void WebSettingsImpl::setWheelGesturesEnabled(bool enabled) | |
| 207 { | |
| 208 m_settings->setWheelGesturesEnabled(enabled); | |
| 209 } | |
| 210 | |
| 211 void WebSettingsImpl::setJavaScriptCanOpenWindowsAutomatically(bool canOpenWindo
ws) | 206 void WebSettingsImpl::setJavaScriptCanOpenWindowsAutomatically(bool canOpenWindo
ws) |
| 212 { | 207 { |
| 213 m_settings->setJavaScriptCanOpenWindowsAutomatically(canOpenWindows); | 208 m_settings->setJavaScriptCanOpenWindowsAutomatically(canOpenWindows); |
| 214 } | 209 } |
| 215 | 210 |
| 216 void WebSettingsImpl::setSupportDeprecatedTargetDensityDPI(bool supportDeprecate
dTargetDensityDPI) | 211 void WebSettingsImpl::setSupportDeprecatedTargetDensityDPI(bool supportDeprecate
dTargetDensityDPI) |
| 217 { | 212 { |
| 218 m_supportDeprecatedTargetDensityDPI = supportDeprecatedTargetDensityDPI; | 213 m_supportDeprecatedTargetDensityDPI = supportDeprecatedTargetDensityDPI; |
| 219 } | 214 } |
| 220 | 215 |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 bool WebSettingsImpl::doubleTapToZoomEnabled() const | 690 bool WebSettingsImpl::doubleTapToZoomEnabled() const |
| 696 { | 691 { |
| 697 return m_devToolsEmulator->doubleTapToZoomEnabled(); | 692 return m_devToolsEmulator->doubleTapToZoomEnabled(); |
| 698 } | 693 } |
| 699 | 694 |
| 700 bool WebSettingsImpl::mockGestureTapHighlightsEnabled() const | 695 bool WebSettingsImpl::mockGestureTapHighlightsEnabled() const |
| 701 { | 696 { |
| 702 return m_settings->mockGestureTapHighlightsEnabled(); | 697 return m_settings->mockGestureTapHighlightsEnabled(); |
| 703 } | 698 } |
| 704 | 699 |
| 705 bool WebSettingsImpl::wheelGesturesEnabled() const | |
| 706 { | |
| 707 return m_settings->wheelGesturesEnabled(); | |
| 708 } | |
| 709 | |
| 710 bool WebSettingsImpl::mainFrameResizesAreOrientationChanges() const | 700 bool WebSettingsImpl::mainFrameResizesAreOrientationChanges() const |
| 711 { | 701 { |
| 712 return m_devToolsEmulator->mainFrameResizesAreOrientationChanges(); | 702 return m_devToolsEmulator->mainFrameResizesAreOrientationChanges(); |
| 713 } | 703 } |
| 714 | 704 |
| 715 bool WebSettingsImpl::shrinksViewportContentToFit() const | 705 bool WebSettingsImpl::shrinksViewportContentToFit() const |
| 716 { | 706 { |
| 717 return m_shrinksViewportContentToFit; | 707 return m_shrinksViewportContentToFit; |
| 718 } | 708 } |
| 719 | 709 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 { | 802 { |
| 813 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt
rategiesForCacheStorage>(strategies)); | 803 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt
rategiesForCacheStorage>(strategies)); |
| 814 } | 804 } |
| 815 | 805 |
| 816 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) | 806 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) |
| 817 { | 807 { |
| 818 m_devToolsEmulator->setViewportStyle(style); | 808 m_devToolsEmulator->setViewportStyle(style); |
| 819 } | 809 } |
| 820 | 810 |
| 821 } // namespace blink | 811 } // namespace blink |
| OLD | NEW |