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

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

Issue 2773403003: Removed device_supports_touch. (Closed)
Patch Set: Preserved old touch-flag behavior. Created 3 years, 8 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
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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 } 132 }
133 133
134 void WebSettingsImpl::setMinimumFontSize(int size) { 134 void WebSettingsImpl::setMinimumFontSize(int size) {
135 m_settings->setMinimumFontSize(size); 135 m_settings->setMinimumFontSize(size);
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) {
143 m_settings->setDeviceSupportsTouch(deviceSupportsTouch);
144 }
145
146 void WebSettingsImpl::setAutoZoomFocusedNodeToLegibleScale( 142 void WebSettingsImpl::setAutoZoomFocusedNodeToLegibleScale(
147 bool autoZoomFocusedNodeToLegibleScale) { 143 bool autoZoomFocusedNodeToLegibleScale) {
148 m_autoZoomFocusedNodeToLegibleScale = autoZoomFocusedNodeToLegibleScale; 144 m_autoZoomFocusedNodeToLegibleScale = autoZoomFocusedNodeToLegibleScale;
149 } 145 }
150 146
151 void WebSettingsImpl::setBrowserSideNavigationEnabled(bool enabled) { 147 void WebSettingsImpl::setBrowserSideNavigationEnabled(bool enabled) {
152 m_settings->setBrowserSideNavigationEnabled(enabled); 148 m_settings->setBrowserSideNavigationEnabled(enabled);
153 } 149 }
154 150
155 void WebSettingsImpl::setTextAutosizingEnabled(bool enabled) { 151 void WebSettingsImpl::setTextAutosizingEnabled(bool enabled) {
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 718
723 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) { 719 void WebSettingsImpl::setExpensiveBackgroundThrottlingMaxDelay(float maxDelay) {
724 m_expensiveBackgroundThrottlingMaxDelay = maxDelay; 720 m_expensiveBackgroundThrottlingMaxDelay = maxDelay;
725 } 721 }
726 722
727 void WebSettingsImpl::setMediaControlsEnabled(bool enabled) { 723 void WebSettingsImpl::setMediaControlsEnabled(bool enabled) {
728 m_settings->setMediaControlsEnabled(enabled); 724 m_settings->setMediaControlsEnabled(enabled);
729 } 725 }
730 726
731 } // namespace blink 727 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698