| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 , m_showFPSCounter(false) | 46 , m_showFPSCounter(false) |
| 47 , m_showPaintRects(false) | 47 , m_showPaintRects(false) |
| 48 , m_renderVSyncNotificationEnabled(false) | 48 , m_renderVSyncNotificationEnabled(false) |
| 49 , m_autoZoomFocusedNodeToLegibleScale(false) | 49 , m_autoZoomFocusedNodeToLegibleScale(false) |
| 50 , m_supportDeprecatedTargetDensityDPI(false) | 50 , m_supportDeprecatedTargetDensityDPI(false) |
| 51 , m_shrinksViewportContentToFit(false) | 51 , m_shrinksViewportContentToFit(false) |
| 52 , m_viewportMetaLayoutSizeQuirk(false) | 52 , m_viewportMetaLayoutSizeQuirk(false) |
| 53 , m_viewportMetaNonUserScalableQuirk(false) | 53 , m_viewportMetaNonUserScalableQuirk(false) |
| 54 , m_clobberUserAgentInitialScaleQuirk(false) | 54 , m_clobberUserAgentInitialScaleQuirk(false) |
| 55 { | 55 { |
| 56 ASSERT(settings); | 56 DCHECK(settings); |
| 57 } | 57 } |
| 58 | 58 |
| 59 void WebSettingsImpl::setFromStrings(const WebString& name, const WebString& val
ue) | 59 void WebSettingsImpl::setFromStrings(const WebString& name, const WebString& val
ue) |
| 60 { | 60 { |
| 61 m_settings->setFromStrings(name, value); | 61 m_settings->setFromStrings(name, value); |
| 62 } | 62 } |
| 63 | 63 |
| 64 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s
cript) | 64 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s
cript) |
| 65 { | 65 { |
| 66 if (m_settings->genericFontFamilySettings().updateStandard(font, script)) | 66 if (m_settings->genericFontFamilySettings().updateStandard(font, script)) |
| (...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 802 { | 802 { |
| 803 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); | 803 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); |
| 804 } | 804 } |
| 805 | 805 |
| 806 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) | 806 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) |
| 807 { | 807 { |
| 808 m_devToolsEmulator->setUseMobileViewportStyle(enabled); | 808 m_devToolsEmulator->setUseMobileViewportStyle(enabled); |
| 809 } | 809 } |
| 810 | 810 |
| 811 } // namespace blink | 811 } // namespace blink |
| OLD | NEW |