| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 , m_inspectorController(inspectorController) | 47 , m_inspectorController(inspectorController) |
| 48 , m_showFPSCounter(false) | 48 , m_showFPSCounter(false) |
| 49 , m_showPaintRects(false) | 49 , m_showPaintRects(false) |
| 50 , m_renderVSyncNotificationEnabled(false) | 50 , m_renderVSyncNotificationEnabled(false) |
| 51 , m_gestureTapHighlightEnabled(true) | 51 , m_gestureTapHighlightEnabled(true) |
| 52 , m_autoZoomFocusedNodeToLegibleScale(false) | 52 , m_autoZoomFocusedNodeToLegibleScale(false) |
| 53 , m_deferredImageDecodingEnabled(false) | 53 , m_deferredImageDecodingEnabled(false) |
| 54 , m_doubleTapToZoomEnabled(false) | 54 , m_doubleTapToZoomEnabled(false) |
| 55 , m_supportDeprecatedTargetDensityDPI(false) | 55 , m_supportDeprecatedTargetDensityDPI(false) |
| 56 , m_shrinksViewportContentToFit(false) | 56 , m_shrinksViewportContentToFit(false) |
| 57 , m_useExpandedHeuristicsForGpuRasterization(false) |
| 57 , m_viewportMetaLayoutSizeQuirk(false) | 58 , m_viewportMetaLayoutSizeQuirk(false) |
| 58 , m_viewportMetaNonUserScalableQuirk(false) | 59 , m_viewportMetaNonUserScalableQuirk(false) |
| 59 , m_clobberUserAgentInitialScaleQuirk(false) | 60 , m_clobberUserAgentInitialScaleQuirk(false) |
| 60 , m_mainFrameResizesAreOrientationChanges(false) | 61 , m_mainFrameResizesAreOrientationChanges(false) |
| 61 { | 62 { |
| 62 ASSERT(settings); | 63 ASSERT(settings); |
| 63 } | 64 } |
| 64 | 65 |
| 65 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s
cript) | 66 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s
cript) |
| 66 { | 67 { |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 void WebSettingsImpl::setJavaEnabled(bool enabled) | 283 void WebSettingsImpl::setJavaEnabled(bool enabled) |
| 283 { | 284 { |
| 284 m_settings->setJavaEnabled(enabled); | 285 m_settings->setJavaEnabled(enabled); |
| 285 } | 286 } |
| 286 | 287 |
| 287 void WebSettingsImpl::setAllowScriptsToCloseWindows(bool allow) | 288 void WebSettingsImpl::setAllowScriptsToCloseWindows(bool allow) |
| 288 { | 289 { |
| 289 m_settings->setAllowScriptsToCloseWindows(allow); | 290 m_settings->setAllowScriptsToCloseWindows(allow); |
| 290 } | 291 } |
| 291 | 292 |
| 293 void WebSettingsImpl::setUseExpandedHeuristicsForGpuRasterization(bool useExpand
edHeuristics) |
| 294 { |
| 295 m_useExpandedHeuristicsForGpuRasterization = useExpandedHeuristics; |
| 296 } |
| 297 |
| 292 void WebSettingsImpl::setUseLegacyBackgroundSizeShorthandBehavior(bool useLegacy
BackgroundSizeShorthandBehavior) | 298 void WebSettingsImpl::setUseLegacyBackgroundSizeShorthandBehavior(bool useLegacy
BackgroundSizeShorthandBehavior) |
| 293 { | 299 { |
| 294 m_settings->setUseLegacyBackgroundSizeShorthandBehavior(useLegacyBackgroundS
izeShorthandBehavior); | 300 m_settings->setUseLegacyBackgroundSizeShorthandBehavior(useLegacyBackgroundS
izeShorthandBehavior); |
| 295 } | 301 } |
| 296 | 302 |
| 297 void WebSettingsImpl::setWideViewportQuirkEnabled(bool wideViewportQuirkEnabled) | 303 void WebSettingsImpl::setWideViewportQuirkEnabled(bool wideViewportQuirkEnabled) |
| 298 { | 304 { |
| 299 m_settings->setWideViewportQuirkEnabled(wideViewportQuirkEnabled); | 305 m_settings->setWideViewportQuirkEnabled(wideViewportQuirkEnabled); |
| 300 } | 306 } |
| 301 | 307 |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 700 { | 706 { |
| 701 m_settings->setUseSolidColorScrollbars(enabled); | 707 m_settings->setUseSolidColorScrollbars(enabled); |
| 702 } | 708 } |
| 703 | 709 |
| 704 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) | 710 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) |
| 705 { | 711 { |
| 706 m_mainFrameResizesAreOrientationChanges = enabled; | 712 m_mainFrameResizesAreOrientationChanges = enabled; |
| 707 } | 713 } |
| 708 | 714 |
| 709 } // namespace blink | 715 } // namespace blink |
| OLD | NEW |