| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 if (m_settings->genericFontFamilySettings().updateStandard(font, script)) | 68 if (m_settings->genericFontFamilySettings().updateStandard(font, script)) |
| 69 m_settings->notifyGenericFontFamilyChange(); | 69 m_settings->notifyGenericFontFamilyChange(); |
| 70 } | 70 } |
| 71 | 71 |
| 72 void WebSettingsImpl::setFixedFontFamily(const WebString& font, UScriptCode scri
pt) | 72 void WebSettingsImpl::setFixedFontFamily(const WebString& font, UScriptCode scri
pt) |
| 73 { | 73 { |
| 74 if (m_settings->genericFontFamilySettings().updateFixed(font, script)) | 74 if (m_settings->genericFontFamilySettings().updateFixed(font, script)) |
| 75 m_settings->notifyGenericFontFamilyChange(); | 75 m_settings->notifyGenericFontFamilyChange(); |
| 76 } | 76 } |
| 77 | 77 |
| 78 void WebSettingsImpl::setReportWheelOverscroll(bool enabled) |
| 79 { |
| 80 m_settings->setReportWheelOverscroll(enabled); |
| 81 } |
| 82 |
| 78 void WebSettingsImpl::setForceZeroLayoutHeight(bool enabled) | 83 void WebSettingsImpl::setForceZeroLayoutHeight(bool enabled) |
| 79 { | 84 { |
| 80 m_settings->setForceZeroLayoutHeight(enabled); | 85 m_settings->setForceZeroLayoutHeight(enabled); |
| 81 } | 86 } |
| 82 | 87 |
| 83 void WebSettingsImpl::setFullscreenSupported(bool enabled) | 88 void WebSettingsImpl::setFullscreenSupported(bool enabled) |
| 84 { | 89 { |
| 85 m_settings->setFullscreenSupported(enabled); | 90 m_settings->setFullscreenSupported(enabled); |
| 86 } | 91 } |
| 87 | 92 |
| (...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 { | 794 { |
| 790 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 795 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
| 791 } | 796 } |
| 792 | 797 |
| 793 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) | 798 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) |
| 794 { | 799 { |
| 795 m_devToolsEmulator->setUseMobileViewportStyle(enabled); | 800 m_devToolsEmulator->setUseMobileViewportStyle(enabled); |
| 796 } | 801 } |
| 797 | 802 |
| 798 } // namespace blink | 803 } // namespace blink |
| OLD | NEW |