Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Side by Side Diff: Source/WebKit/chromium/src/WebSettingsImpl.cpp

Issue 16799005: Insert pinch zoom virtual viewport layers to graphics layer tree. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/WebKit/chromium/src/WebSettingsImpl.h ('k') | Source/WebKit/chromium/src/WebViewImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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(0)
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
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
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/src/WebSettingsImpl.h ('k') | Source/WebKit/chromium/src/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698