| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 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_useExpandedHeuristicsForGpuRasterization(false) | 
| 58     , m_viewportMetaLayoutSizeQuirk(false) | 58     , m_viewportMetaLayoutSizeQuirk(false) | 
| 59     , m_viewportMetaNonUserScalableQuirk(false) | 59     , m_viewportMetaNonUserScalableQuirk(false) | 
| 60     , m_clobberUserAgentInitialScaleQuirk(false) | 60     , m_clobberUserAgentInitialScaleQuirk(false) | 
| 61     , m_mainFrameResizesAreOrientationChanges(false) | 61     , m_mainFrameResizesAreOrientationChanges(false) | 
|  | 62     , m_disallowFullscreenForNonMediaElements(false) | 
| 62 { | 63 { | 
| 63     ASSERT(settings); | 64     ASSERT(settings); | 
| 64 } | 65 } | 
| 65 | 66 | 
| 66 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s
     cript) | 67 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s
     cript) | 
| 67 { | 68 { | 
| 68     m_settings->genericFontFamilySettings().setStandard(font, script); | 69     m_settings->genericFontFamilySettings().setStandard(font, script); | 
| 69     m_settings->notifyGenericFontFamilyChange(); | 70     m_settings->notifyGenericFontFamilyChange(); | 
| 70 } | 71 } | 
| 71 | 72 | 
| (...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 704 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled) | 705 void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled) | 
| 705 { | 706 { | 
| 706     m_settings->setUseSolidColorScrollbars(enabled); | 707     m_settings->setUseSolidColorScrollbars(enabled); | 
| 707 } | 708 } | 
| 708 | 709 | 
| 709 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) | 710 void WebSettingsImpl::setMainFrameResizesAreOrientationChanges(bool enabled) | 
| 710 { | 711 { | 
| 711     m_mainFrameResizesAreOrientationChanges = enabled; | 712     m_mainFrameResizesAreOrientationChanges = enabled; | 
| 712 } | 713 } | 
| 713 | 714 | 
|  | 715 void WebSettingsImpl::setDisallowFullscreenForNonMediaElements(bool enabled) | 
|  | 716 { | 
|  | 717     m_disallowFullscreenForNonMediaElements = enabled; | 
|  | 718 } | 
|  | 719 | 
| 714 } // namespace blink | 720 } // namespace blink | 
| OLD | NEW | 
|---|