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

Side by Side Diff: content/renderer/render_thread_impl.cc

Issue 14861002: Disable the Datalist element on the Android platform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dataListElement - runtime flag Created 7 years, 7 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
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 // datalist on Android is not enabled
654 WebRuntimeFeatures::enableDataListElement(false);
653 #endif 655 #endif
654 } 656 }
655 657
656 static void AdjustRuntimeFeaturesFromArgs(const CommandLine& command_line) { 658 static void AdjustRuntimeFeaturesFromArgs(const CommandLine& command_line) {
657 if (command_line.HasSwitch(switches::kDisableDatabases)) 659 if (command_line.HasSwitch(switches::kDisableDatabases))
658 WebRuntimeFeatures::enableDatabase(false); 660 WebRuntimeFeatures::enableDatabase(false);
659 661
660 if (command_line.HasSwitch(switches::kDisableApplicationCache)) 662 if (command_line.HasSwitch(switches::kDisableApplicationCache))
661 WebRuntimeFeatures::enableApplicationCache(false); 663 WebRuntimeFeatures::enableApplicationCache(false);
662 664
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
1317 1319
1318 void RenderThreadImpl::SetFlingCurveParameters( 1320 void RenderThreadImpl::SetFlingCurveParameters(
1319 const std::vector<float>& new_touchpad, 1321 const std::vector<float>& new_touchpad,
1320 const std::vector<float>& new_touchscreen) { 1322 const std::vector<float>& new_touchscreen) {
1321 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, 1323 webkit_platform_support_->SetFlingCurveParameters(new_touchpad,
1322 new_touchscreen); 1324 new_touchscreen);
1323 1325
1324 } 1326 }
1325 1327
1326 } // namespace content 1328 } // namespace content
OLDNEW
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698