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

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

Issue 15057004: Week picker for android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed WebRuntimeFeatures::enableInputTypeWeek Created 7 years, 6 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 | Annotate | Revision Log
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 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 #if defined(OS_ANDROID) && !defined(GOOGLE_TV) 642 #if defined(OS_ANDROID) && !defined(GOOGLE_TV)
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
653 WebRuntimeFeatures::enableInputTypeWeek(false);
654 // Android does not have support for PagePopup 652 // Android does not have support for PagePopup
655 WebRuntimeFeatures::enablePagePopup(false); 653 WebRuntimeFeatures::enablePagePopup(false);
656 // datalist on Android is not enabled 654 // datalist on Android is not enabled
657 WebRuntimeFeatures::enableDataListElement(false); 655 WebRuntimeFeatures::enableDataListElement(false);
658 #endif 656 #endif
659 } 657 }
660 658
661 static void AdjustRuntimeFeaturesFromArgs(const CommandLine& command_line) { 659 static void AdjustRuntimeFeaturesFromArgs(const CommandLine& command_line) {
662 if (command_line.HasSwitch(switches::kDisableDatabases)) 660 if (command_line.HasSwitch(switches::kDisableDatabases))
663 WebRuntimeFeatures::enableDatabase(false); 661 WebRuntimeFeatures::enableDatabase(false);
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
1378 1376
1379 void RenderThreadImpl::SetFlingCurveParameters( 1377 void RenderThreadImpl::SetFlingCurveParameters(
1380 const std::vector<float>& new_touchpad, 1378 const std::vector<float>& new_touchpad,
1381 const std::vector<float>& new_touchscreen) { 1379 const std::vector<float>& new_touchscreen) {
1382 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, 1380 webkit_platform_support_->SetFlingCurveParameters(new_touchpad,
1383 new_touchscreen); 1381 new_touchscreen);
1384 1382
1385 } 1383 }
1386 1384
1387 } // namespace content 1385 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698