| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 : m_settings(settings) | 50 : m_settings(settings) |
| 51 , m_showFPSCounter(false) | 51 , m_showFPSCounter(false) |
| 52 , m_showPaintRects(false) | 52 , m_showPaintRects(false) |
| 53 , m_renderVSyncNotificationEnabled(false) | 53 , m_renderVSyncNotificationEnabled(false) |
| 54 , m_gestureTapHighlightEnabled(true) | 54 , m_gestureTapHighlightEnabled(true) |
| 55 , m_autoZoomFocusedNodeToLegibleScale(false) | 55 , m_autoZoomFocusedNodeToLegibleScale(false) |
| 56 , m_deferredImageDecodingEnabled(false) | 56 , m_deferredImageDecodingEnabled(false) |
| 57 , m_doubleTapToZoomEnabled(false) | 57 , m_doubleTapToZoomEnabled(false) |
| 58 , m_supportDeprecatedTargetDensityDPI(false) | 58 , m_supportDeprecatedTargetDensityDPI(false) |
| 59 , m_viewportMetaLayoutSizeQuirk(false) | 59 , m_viewportMetaLayoutSizeQuirk(false) |
| 60 , m_clobberUserAgentInitialScaleQuirk(false) |
| 60 , m_pinchOverlayScrollbarThickness(0) | 61 , m_pinchOverlayScrollbarThickness(0) |
| 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 { |
| 67 m_settings->setStandardFontFamily(font, script); | 68 m_settings->setStandardFontFamily(font, script); |
| 68 } | 69 } |
| 69 | 70 |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 void WebSettingsImpl::setIgnoreMainFrameOverflowHiddenQuirk(bool ignoreMainFrame
OverflowHiddenQuirk) | 206 void WebSettingsImpl::setIgnoreMainFrameOverflowHiddenQuirk(bool ignoreMainFrame
OverflowHiddenQuirk) |
| 206 { | 207 { |
| 207 m_settings->setIgnoreMainFrameOverflowHiddenQuirk(ignoreMainFrameOverflowHid
denQuirk); | 208 m_settings->setIgnoreMainFrameOverflowHiddenQuirk(ignoreMainFrameOverflowHid
denQuirk); |
| 208 } | 209 } |
| 209 | 210 |
| 210 void WebSettingsImpl::setReportScreenSizeInPhysicalPixelsQuirk(bool reportScreen
SizeInPhysicalPixelsQuirk) | 211 void WebSettingsImpl::setReportScreenSizeInPhysicalPixelsQuirk(bool reportScreen
SizeInPhysicalPixelsQuirk) |
| 211 { | 212 { |
| 212 m_settings->setReportScreenSizeInPhysicalPixelsQuirk(reportScreenSizeInPhysi
calPixelsQuirk); | 213 m_settings->setReportScreenSizeInPhysicalPixelsQuirk(reportScreenSizeInPhysi
calPixelsQuirk); |
| 213 } | 214 } |
| 214 | 215 |
| 216 void WebSettingsImpl::setClobberUserAgentInitialScaleQuirk(bool clobberUserAgent
InitialScaleQuirk) |
| 217 { |
| 218 m_clobberUserAgentInitialScaleQuirk = clobberUserAgentInitialScaleQuirk; |
| 219 } |
| 220 |
| 215 void WebSettingsImpl::setSupportsMultipleWindows(bool supportsMultipleWindows) | 221 void WebSettingsImpl::setSupportsMultipleWindows(bool supportsMultipleWindows) |
| 216 { | 222 { |
| 217 m_settings->setSupportsMultipleWindows(supportsMultipleWindows); | 223 m_settings->setSupportsMultipleWindows(supportsMultipleWindows); |
| 218 } | 224 } |
| 219 | 225 |
| 220 void WebSettingsImpl::setLoadsImagesAutomatically(bool loadsImagesAutomatically) | 226 void WebSettingsImpl::setLoadsImagesAutomatically(bool loadsImagesAutomatically) |
| 221 { | 227 { |
| 222 m_settings->setLoadsImagesAutomatically(loadsImagesAutomatically); | 228 m_settings->setLoadsImagesAutomatically(loadsImagesAutomatically); |
| 223 } | 229 } |
| 224 | 230 |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 { | 746 { |
| 741 m_settings->setPinchVirtualViewportEnabled(enabled); | 747 m_settings->setPinchVirtualViewportEnabled(enabled); |
| 742 } | 748 } |
| 743 | 749 |
| 744 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled) | 750 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled) |
| 745 { | 751 { |
| 746 m_settings->setUseSolidColorScrollbars(enabled); | 752 m_settings->setUseSolidColorScrollbars(enabled); |
| 747 } | 753 } |
| 748 | 754 |
| 749 } // namespace WebKit | 755 } // namespace WebKit |
| OLD | NEW |