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_viewportMetaNonUserScalableQuirk(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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 void WebSettingsImpl::setViewportMetaLayoutSizeQuirk(bool viewportMetaLayoutSize
Quirk) | 191 void WebSettingsImpl::setViewportMetaLayoutSizeQuirk(bool viewportMetaLayoutSize
Quirk) |
191 { | 192 { |
192 m_viewportMetaLayoutSizeQuirk = viewportMetaLayoutSizeQuirk; | 193 m_viewportMetaLayoutSizeQuirk = viewportMetaLayoutSizeQuirk; |
193 } | 194 } |
194 | 195 |
195 void WebSettingsImpl::setViewportMetaMergeContentQuirk(bool viewportMetaMergeCon
tentQuirk) | 196 void WebSettingsImpl::setViewportMetaMergeContentQuirk(bool viewportMetaMergeCon
tentQuirk) |
196 { | 197 { |
197 m_settings->setViewportMetaMergeContentQuirk(viewportMetaMergeContentQuirk); | 198 m_settings->setViewportMetaMergeContentQuirk(viewportMetaMergeContentQuirk); |
198 } | 199 } |
199 | 200 |
| 201 void WebSettingsImpl::setViewportMetaNonUserScalableQuirk(bool viewportMetaNonUs
erScalableQuirk) |
| 202 { |
| 203 m_viewportMetaNonUserScalableQuirk = viewportMetaNonUserScalableQuirk; |
| 204 } |
| 205 |
200 void WebSettingsImpl::setViewportMetaZeroValuesQuirk(bool viewportMetaZeroValues
Quirk) | 206 void WebSettingsImpl::setViewportMetaZeroValuesQuirk(bool viewportMetaZeroValues
Quirk) |
201 { | 207 { |
202 m_settings->setViewportMetaZeroValuesQuirk(viewportMetaZeroValuesQuirk); | 208 m_settings->setViewportMetaZeroValuesQuirk(viewportMetaZeroValuesQuirk); |
203 } | 209 } |
204 | 210 |
205 void WebSettingsImpl::setIgnoreMainFrameOverflowHiddenQuirk(bool ignoreMainFrame
OverflowHiddenQuirk) | 211 void WebSettingsImpl::setIgnoreMainFrameOverflowHiddenQuirk(bool ignoreMainFrame
OverflowHiddenQuirk) |
206 { | 212 { |
207 m_settings->setIgnoreMainFrameOverflowHiddenQuirk(ignoreMainFrameOverflowHid
denQuirk); | 213 m_settings->setIgnoreMainFrameOverflowHiddenQuirk(ignoreMainFrameOverflowHid
denQuirk); |
208 } | 214 } |
209 | 215 |
(...skipping 530 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 |