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

Side by Side Diff: third_party/WebKit/Source/web/WebSettingsImpl.cpp

Issue 2536723007: Removed android scrolling fake mouse moves and device_supports_mouse (Closed)
Patch Set: Made checks mirror what previous logic Created 4 years 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
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 } 136 }
137 137
138 void WebSettingsImpl::setMinimumLogicalFontSize(int size) { 138 void WebSettingsImpl::setMinimumLogicalFontSize(int size) {
139 m_settings->setMinimumLogicalFontSize(size); 139 m_settings->setMinimumLogicalFontSize(size);
140 } 140 }
141 141
142 void WebSettingsImpl::setDeviceSupportsTouch(bool deviceSupportsTouch) { 142 void WebSettingsImpl::setDeviceSupportsTouch(bool deviceSupportsTouch) {
143 m_settings->setDeviceSupportsTouch(deviceSupportsTouch); 143 m_settings->setDeviceSupportsTouch(deviceSupportsTouch);
144 } 144 }
145 145
146 void WebSettingsImpl::setDeviceSupportsMouse(bool deviceSupportsMouse) {
147 m_settings->setDeviceSupportsMouse(deviceSupportsMouse);
148 }
149
150 void WebSettingsImpl::setAutoZoomFocusedNodeToLegibleScale( 146 void WebSettingsImpl::setAutoZoomFocusedNodeToLegibleScale(
151 bool autoZoomFocusedNodeToLegibleScale) { 147 bool autoZoomFocusedNodeToLegibleScale) {
152 m_autoZoomFocusedNodeToLegibleScale = autoZoomFocusedNodeToLegibleScale; 148 m_autoZoomFocusedNodeToLegibleScale = autoZoomFocusedNodeToLegibleScale;
153 } 149 }
154 150
155 void WebSettingsImpl::setBrowserSideNavigationEnabled(bool enabled) { 151 void WebSettingsImpl::setBrowserSideNavigationEnabled(bool enabled) {
156 m_settings->setBrowserSideNavigationEnabled(enabled); 152 m_settings->setBrowserSideNavigationEnabled(enabled);
157 } 153 }
158 154
159 void WebSettingsImpl::setTextAutosizingEnabled(bool enabled) { 155 void WebSettingsImpl::setTextAutosizingEnabled(bool enabled) {
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget( 704 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxBudget(
709 float maxBudget) { 705 float maxBudget) {
710 m_expensiveBackgroundThrottlingMaxBudget = maxBudget; 706 m_expensiveBackgroundThrottlingMaxBudget = maxBudget;
711 } 707 }
712 708
713 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) { 709 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) {
714 m_expensiveBackgroundThrottlingMaxDelay = maxDelay; 710 m_expensiveBackgroundThrottlingMaxDelay = maxDelay;
715 } 711 }
716 712
717 } // namespace blink 713 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698