| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/renderer/render_thread_impl.h" | 5 #include "content/renderer/render_thread_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <limits> | 8 #include <limits> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 640 WebRuntimeFeatures::enableWebKitMediaSource(false); | 640 WebRuntimeFeatures::enableWebKitMediaSource(false); |
| 641 #endif | 641 #endif |
| 642 | 642 |
| 643 #if defined(OS_ANDROID) | 643 #if defined(OS_ANDROID) |
| 644 WebRuntimeFeatures::enableWebAudio(false); | 644 WebRuntimeFeatures::enableWebAudio(false); |
| 645 // Web Speech API Speech recognition is not implemented on Android yet. | 645 // Web Speech API Speech recognition is not implemented on Android yet. |
| 646 WebRuntimeFeatures::enableScriptedSpeech(false); | 646 WebRuntimeFeatures::enableScriptedSpeech(false); |
| 647 // Android does not support the Gamepad API. | 647 // Android does not support the Gamepad API. |
| 648 WebRuntimeFeatures::enableGamepad(false); | 648 WebRuntimeFeatures::enableGamepad(false); |
| 649 // input[type=week] in Android is incomplete. crbug.com/135938 | 649 // input[type=week] in Android is incomplete. crbug.com/135938 |
| 650 WebRuntimeFeatures::enableInputTypeWeek(false); | 650 // WebRuntimeFeatures::enableInputTypeWeek(false); |
| 651 // Android does not have support for PagePopup | 651 // Android does not have support for PagePopup |
| 652 WebRuntimeFeatures::enablePagePopup(false); | 652 WebRuntimeFeatures::enablePagePopup(false); |
| 653 #endif | 653 #endif |
| 654 } | 654 } |
| 655 | 655 |
| 656 static void AdjustRuntimeFeaturesFromArgs(const CommandLine& command_line) { | 656 static void AdjustRuntimeFeaturesFromArgs(const CommandLine& command_line) { |
| 657 if (command_line.HasSwitch(switches::kDisableDatabases)) | 657 if (command_line.HasSwitch(switches::kDisableDatabases)) |
| 658 WebRuntimeFeatures::enableDatabase(false); | 658 WebRuntimeFeatures::enableDatabase(false); |
| 659 | 659 |
| 660 if (command_line.HasSwitch(switches::kDisableApplicationCache)) | 660 if (command_line.HasSwitch(switches::kDisableApplicationCache)) |
| (...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1317 | 1317 |
| 1318 void RenderThreadImpl::SetFlingCurveParameters( | 1318 void RenderThreadImpl::SetFlingCurveParameters( |
| 1319 const std::vector<float>& new_touchpad, | 1319 const std::vector<float>& new_touchpad, |
| 1320 const std::vector<float>& new_touchscreen) { | 1320 const std::vector<float>& new_touchscreen) { |
| 1321 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, | 1321 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, |
| 1322 new_touchscreen); | 1322 new_touchscreen); |
| 1323 | 1323 |
| 1324 } | 1324 } |
| 1325 | 1325 |
| 1326 } // namespace content | 1326 } // namespace content |
| OLD | NEW |