| 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 void WebSettingsImpl::setUserStyleSheetLocation(const WebURL& location) | 251 void WebSettingsImpl::setUserStyleSheetLocation(const WebURL& location) |
| 252 { | 252 { |
| 253 m_settings->setUserStyleSheetLocation(location); | 253 m_settings->setUserStyleSheetLocation(location); |
| 254 } | 254 } |
| 255 | 255 |
| 256 void WebSettingsImpl::setAuthorAndUserStylesEnabled(bool enabled) | 256 void WebSettingsImpl::setAuthorAndUserStylesEnabled(bool enabled) |
| 257 { | 257 { |
| 258 m_settings->setAuthorAndUserStylesEnabled(enabled); | 258 m_settings->setAuthorAndUserStylesEnabled(enabled); |
| 259 } | 259 } |
| 260 | 260 |
| 261 void WebSettingsImpl::setUsesPageCache(bool usesPageCache) | |
| 262 { | |
| 263 m_settings->setUsesPageCache(usesPageCache); | |
| 264 } | |
| 265 | |
| 266 void WebSettingsImpl::setUseWideViewport(bool useWideViewport) | 261 void WebSettingsImpl::setUseWideViewport(bool useWideViewport) |
| 267 { | 262 { |
| 268 m_useWideViewport = useWideViewport; | 263 m_useWideViewport = useWideViewport; |
| 269 } | 264 } |
| 270 | 265 |
| 271 void WebSettingsImpl::setPageCacheSupportsPlugins(bool pageCacheSupportsPlugins) | |
| 272 { | |
| 273 m_settings->setPageCacheSupportsPlugins(pageCacheSupportsPlugins); | |
| 274 } | |
| 275 | |
| 276 void WebSettingsImpl::setDoubleTapToZoomEnabled(bool doubleTapToZoomEnabled) | 266 void WebSettingsImpl::setDoubleTapToZoomEnabled(bool doubleTapToZoomEnabled) |
| 277 { | 267 { |
| 278 m_doubleTapToZoomEnabled = doubleTapToZoomEnabled; | 268 m_doubleTapToZoomEnabled = doubleTapToZoomEnabled; |
| 279 } | 269 } |
| 280 | 270 |
| 281 void WebSettingsImpl::setDownloadableBinaryFontsEnabled(bool enabled) | 271 void WebSettingsImpl::setDownloadableBinaryFontsEnabled(bool enabled) |
| 282 { | 272 { |
| 283 m_settings->setDownloadableBinaryFontsEnabled(enabled); | 273 m_settings->setDownloadableBinaryFontsEnabled(enabled); |
| 284 } | 274 } |
| 285 | 275 |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 { | 688 { |
| 699 m_settings->setSelectionIncludesAltImageText(enabled); | 689 m_settings->setSelectionIncludesAltImageText(enabled); |
| 700 } | 690 } |
| 701 | 691 |
| 702 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) | 692 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) |
| 703 { | 693 { |
| 704 m_settings->setSmartInsertDeleteEnabled(enabled); | 694 m_settings->setSmartInsertDeleteEnabled(enabled); |
| 705 } | 695 } |
| 706 | 696 |
| 707 } // namespace WebKit | 697 } // namespace WebKit |
| OLD | NEW |