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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 21591002: Enable Device Motion on Android by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reupload Created 7 years, 4 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 | content/child/runtime_features.cc » ('j') | 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 switches::kUseGL, 1021 switches::kUseGL,
1022 switches::kUseMobileUserAgent, 1022 switches::kUseMobileUserAgent,
1023 switches::kUserAgent, 1023 switches::kUserAgent,
1024 switches::kV, 1024 switches::kV,
1025 switches::kVideoThreads, 1025 switches::kVideoThreads,
1026 switches::kVModule, 1026 switches::kVModule,
1027 switches::kWebCoreLogChannels, 1027 switches::kWebCoreLogChannels,
1028 switches::kEnableWebGLDraftExtensions, 1028 switches::kEnableWebGLDraftExtensions,
1029 switches::kTraceToConsole, 1029 switches::kTraceToConsole,
1030 switches::kEnableDeviceMotion, 1030 switches::kEnableDeviceMotion,
1031 #if defined(OS_ANDROID)
1032 switches::kDisableDeviceMotion,
1033 #endif
1031 // Please keep these in alphabetical order. Compositor switches here should 1034 // Please keep these in alphabetical order. Compositor switches here should
1032 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 1035 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
1033 cc::switches::kBackgroundColorInsteadOfCheckerboard, 1036 cc::switches::kBackgroundColorInsteadOfCheckerboard,
1034 cc::switches::kCompositeToMailbox, 1037 cc::switches::kCompositeToMailbox,
1035 cc::switches::kDisableCompositedAntialiasing, 1038 cc::switches::kDisableCompositedAntialiasing,
1036 cc::switches::kDisableImplSidePainting, 1039 cc::switches::kDisableImplSidePainting,
1037 cc::switches::kDisableThreadedAnimation, 1040 cc::switches::kDisableThreadedAnimation,
1038 cc::switches::kEnableImplSidePainting, 1041 cc::switches::kEnableImplSidePainting,
1039 cc::switches::kEnablePartialSwap, 1042 cc::switches::kEnablePartialSwap,
1040 cc::switches::kEnablePerTilePainting, 1043 cc::switches::kEnablePerTilePainting,
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
1799 // Skip widgets in other processes. 1802 // Skip widgets in other processes.
1800 if (widgets[i]->GetProcess()->GetID() != GetID()) 1803 if (widgets[i]->GetProcess()->GetID() != GetID())
1801 continue; 1804 continue;
1802 1805
1803 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); 1806 RenderViewHost* rvh = RenderViewHost::From(widgets[i]);
1804 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1807 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1805 } 1808 }
1806 } 1809 }
1807 1810
1808 } // namespace content 1811 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698