Chromium Code Reviews| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 51 : m_settings(settings) | 51 : m_settings(settings) |
| 52 , m_showFPSCounter(false) | 52 , m_showFPSCounter(false) |
| 53 , m_showPaintRects(false) | 53 , m_showPaintRects(false) |
| 54 , m_renderVSyncNotificationEnabled(false) | 54 , m_renderVSyncNotificationEnabled(false) |
| 55 , m_viewportEnabled(false) | 55 , m_viewportEnabled(false) |
| 56 , m_gestureTapHighlightEnabled(true) | 56 , m_gestureTapHighlightEnabled(true) |
| 57 , m_autoZoomFocusedNodeToLegibleScale(false) | 57 , m_autoZoomFocusedNodeToLegibleScale(false) |
| 58 , m_deferredImageDecodingEnabled(false) | 58 , m_deferredImageDecodingEnabled(false) |
| 59 , m_doubleTapToZoomEnabled(false) | 59 , m_doubleTapToZoomEnabled(false) |
| 60 , m_supportDeprecatedTargetDensityDPI(false) | 60 , m_supportDeprecatedTargetDensityDPI(false) |
| 61 , m_pinchOverlayScrollbarThickness(10) | |
|
jamesr
2013/06/14 20:55:46
could this be a named constant if it's meant to be
wjmaclean
2013/06/17 17:45:27
Done.
| |
| 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 |
| 70 void WebSettingsImpl::setFixedFontFamily(const WebString& font, UScriptCode scri pt) | 71 void WebSettingsImpl::setFixedFontFamily(const WebString& font, UScriptCode scri pt) |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 674 { | 675 { |
| 675 m_settings->setSmartInsertDeleteEnabled(enabled); | 676 m_settings->setSmartInsertDeleteEnabled(enabled); |
| 676 } | 677 } |
| 677 | 678 |
| 678 void WebSettingsImpl::setPinchVirtualViewportEnabled(bool enabled) | 679 void WebSettingsImpl::setPinchVirtualViewportEnabled(bool enabled) |
| 679 { | 680 { |
| 680 m_settings->setPinchVirtualViewportEnabled(enabled); | 681 m_settings->setPinchVirtualViewportEnabled(enabled); |
| 681 } | 682 } |
| 682 | 683 |
| 683 } // namespace WebKit | 684 } // namespace WebKit |
| OLD | NEW |