Chromium Code Reviews| 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 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 643 WebRuntimeFeatures::enableWebKitMediaSource(false); | 643 WebRuntimeFeatures::enableWebKitMediaSource(false); |
| 644 WebRuntimeFeatures::enableLegacyEncryptedMedia(false); | 644 WebRuntimeFeatures::enableLegacyEncryptedMedia(false); |
| 645 WebRuntimeFeatures::enableEncryptedMedia(false); | 645 WebRuntimeFeatures::enableEncryptedMedia(false); |
| 646 #endif | 646 #endif |
| 647 | 647 |
| 648 #if defined(OS_ANDROID) | 648 #if defined(OS_ANDROID) |
| 649 WebRuntimeFeatures::enableWebAudio(false); | 649 WebRuntimeFeatures::enableWebAudio(false); |
| 650 // Android does not support the Gamepad API. | 650 // Android does not support the Gamepad API. |
| 651 WebRuntimeFeatures::enableGamepad(false); | 651 WebRuntimeFeatures::enableGamepad(false); |
| 652 // input[type=week] in Android is incomplete. crbug.com/135938 | 652 // input[type=week] in Android is incomplete. crbug.com/135938 |
| 653 WebRuntimeFeatures::enableInputTypeWeek(false); | 653 // WebRuntimeFeatures::enableInputTypeWeek(false); |
|
jam
2013/06/10 17:26:24
just take it out
keishi
2013/06/11 02:27:17
Done.
| |
| 654 // Android does not have support for PagePopup | 654 // Android does not have support for PagePopup |
| 655 WebRuntimeFeatures::enablePagePopup(false); | 655 WebRuntimeFeatures::enablePagePopup(false); |
| 656 // datalist on Android is not enabled | 656 // datalist on Android is not enabled |
| 657 WebRuntimeFeatures::enableDataListElement(false); | 657 WebRuntimeFeatures::enableDataListElement(false); |
| 658 #endif | 658 #endif |
| 659 } | 659 } |
| 660 | 660 |
| 661 static void AdjustRuntimeFeaturesFromArgs(const CommandLine& command_line) { | 661 static void AdjustRuntimeFeaturesFromArgs(const CommandLine& command_line) { |
| 662 if (command_line.HasSwitch(switches::kDisableDatabases)) | 662 if (command_line.HasSwitch(switches::kDisableDatabases)) |
| 663 WebRuntimeFeatures::enableDatabase(false); | 663 WebRuntimeFeatures::enableDatabase(false); |
| (...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1378 | 1378 |
| 1379 void RenderThreadImpl::SetFlingCurveParameters( | 1379 void RenderThreadImpl::SetFlingCurveParameters( |
| 1380 const std::vector<float>& new_touchpad, | 1380 const std::vector<float>& new_touchpad, |
| 1381 const std::vector<float>& new_touchscreen) { | 1381 const std::vector<float>& new_touchscreen) { |
| 1382 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, | 1382 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, |
| 1383 new_touchscreen); | 1383 new_touchscreen); |
| 1384 | 1384 |
| 1385 } | 1385 } |
| 1386 | 1386 |
| 1387 } // namespace content | 1387 } // namespace content |
| OLD | NEW |