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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 53 : m_settings(settings) | 53 : m_settings(settings) |
| 54 , m_showFPSCounter(false) | 54 , m_showFPSCounter(false) |
| 55 , m_showPaintRects(false) | 55 , m_showPaintRects(false) |
| 56 , m_renderVSyncNotificationEnabled(false) | 56 , m_renderVSyncNotificationEnabled(false) |
| 57 , m_viewportEnabled(false) | 57 , m_viewportEnabled(false) |
| 58 , m_gestureTapHighlightEnabled(true) | 58 , m_gestureTapHighlightEnabled(true) |
| 59 , m_autoZoomFocusedNodeToLegibleScale(false) | 59 , m_autoZoomFocusedNodeToLegibleScale(false) |
| 60 , m_deferredImageDecodingEnabled(false) | 60 , m_deferredImageDecodingEnabled(false) |
| 61 , m_doubleTapToZoomEnabled(false) | 61 , m_doubleTapToZoomEnabled(false) |
| 62 , m_supportDeprecatedTargetDensityDPI(false) | 62 , m_supportDeprecatedTargetDensityDPI(false) |
| 63 , m_pinchOverlayScrollbarThickness(10) | |
|
jamesr
2013/06/19 20:17:06
still 10 ?
| |
| 63 { | 64 { |
| 64 ASSERT(settings); | 65 ASSERT(settings); |
| 65 } | 66 } |
| 66 | 67 |
| 67 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s cript) | 68 void WebSettingsImpl::setStandardFontFamily(const WebString& font, UScriptCode s cript) |
| 68 { | 69 { |
| 69 m_settings->setStandardFontFamily(font, script); | 70 m_settings->setStandardFontFamily(font, script); |
| 70 } | 71 } |
| 71 | 72 |
| 72 void WebSettingsImpl::setFixedFontFamily(const WebString& font, UScriptCode scri pt) | 73 void WebSettingsImpl::setFixedFontFamily(const WebString& font, UScriptCode scri pt) |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 676 void WebSettingsImpl::setSelectionIncludesAltImageText(bool enabled) | 677 void WebSettingsImpl::setSelectionIncludesAltImageText(bool enabled) |
| 677 { | 678 { |
| 678 m_settings->setSelectionIncludesAltImageText(enabled); | 679 m_settings->setSelectionIncludesAltImageText(enabled); |
| 679 } | 680 } |
| 680 | 681 |
| 681 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) | 682 void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled) |
| 682 { | 683 { |
| 683 m_settings->setSmartInsertDeleteEnabled(enabled); | 684 m_settings->setSmartInsertDeleteEnabled(enabled); |
| 684 } | 685 } |
| 685 | 686 |
| 687 void WebSettingsImpl::setPinchOverlayScrollbarThickness(int thickness) | |
| 688 { | |
| 689 m_pinchOverlayScrollbarThickness = thickness; | |
| 690 } | |
| 691 | |
| 686 void WebSettingsImpl::setPinchVirtualViewportEnabled(bool enabled) | 692 void WebSettingsImpl::setPinchVirtualViewportEnabled(bool enabled) |
| 687 { | 693 { |
| 688 m_settings->setPinchVirtualViewportEnabled(enabled); | 694 m_settings->setPinchVirtualViewportEnabled(enabled); |
| 689 } | 695 } |
| 690 | 696 |
| 691 } // namespace WebKit | 697 } // namespace WebKit |
| OLD | NEW |