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

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

Issue 14668006: Turn off RuntimeFeature flag for PagePopup for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « no previous file | 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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
652 WebRuntimeFeatures::enablePagePopup(false);
651 #endif 653 #endif
652 } 654 }
653 655
654 static void AdjustRuntimeFeaturesFromArgs(const CommandLine& command_line) { 656 static void AdjustRuntimeFeaturesFromArgs(const CommandLine& command_line) {
655 if (command_line.HasSwitch(switches::kDisableDatabases)) 657 if (command_line.HasSwitch(switches::kDisableDatabases))
656 WebRuntimeFeatures::enableDatabase(false); 658 WebRuntimeFeatures::enableDatabase(false);
657 659
658 if (command_line.HasSwitch(switches::kDisableApplicationCache)) 660 if (command_line.HasSwitch(switches::kDisableApplicationCache))
659 WebRuntimeFeatures::enableApplicationCache(false); 661 WebRuntimeFeatures::enableApplicationCache(false);
660 662
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
1315 1317
1316 void RenderThreadImpl::SetFlingCurveParameters( 1318 void RenderThreadImpl::SetFlingCurveParameters(
1317 const std::vector<float>& new_touchpad, 1319 const std::vector<float>& new_touchpad,
1318 const std::vector<float>& new_touchscreen) { 1320 const std::vector<float>& new_touchscreen) {
1319 webkit_platform_support_->SetFlingCurveParameters(new_touchpad, 1321 webkit_platform_support_->SetFlingCurveParameters(new_touchpad,
1320 new_touchscreen); 1322 new_touchscreen);
1321 1323
1322 } 1324 }
1323 1325
1324 } // namespace content 1326 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698