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

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

Issue 62833002: [Android] Add a low-end device mode override flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years, 1 month 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
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 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 #if !defined (GOOGLE_CHROME_BUILD) 1109 #if !defined (GOOGLE_CHROME_BUILD)
1110 // These are unsupported and not fully tested modes, so don't enable them 1110 // These are unsupported and not fully tested modes, so don't enable them
1111 // for official Google Chrome builds. 1111 // for official Google Chrome builds.
1112 switches::kInProcessPlugins, 1112 switches::kInProcessPlugins,
1113 #endif // GOOGLE_CHROME_BUILD 1113 #endif // GOOGLE_CHROME_BUILD
1114 #if defined(GOOGLE_TV) 1114 #if defined(GOOGLE_TV)
1115 switches::kUseExternalVideoSurfaceThresholdInPixels, 1115 switches::kUseExternalVideoSurfaceThresholdInPixels,
1116 #endif 1116 #endif
1117 #if defined(OS_ANDROID) 1117 #if defined(OS_ANDROID)
1118 switches::kDisableGestureRequirementForMediaPlayback, 1118 switches::kDisableGestureRequirementForMediaPlayback,
1119 switches::kDisableLowEndDeviceMode,
1119 switches::kDisableWebRTC, 1120 switches::kDisableWebRTC,
1121 switches::kEnableLowEndDeviceMode,
1120 switches::kEnableSpeechRecognition, 1122 switches::kEnableSpeechRecognition,
1121 switches::kHideScrollbars, 1123 switches::kHideScrollbars,
1122 switches::kMediaDrmEnableNonCompositing, 1124 switches::kMediaDrmEnableNonCompositing,
1123 switches::kNetworkCountryIso, 1125 switches::kNetworkCountryIso,
1124 #endif 1126 #endif
1125 #if defined(OS_MACOSX) 1127 #if defined(OS_MACOSX)
1126 // Allow this to be set when invoking the browser and relayed along. 1128 // Allow this to be set when invoking the browser and relayed along.
1127 switches::kEnableSandboxLogging, 1129 switches::kEnableSandboxLogging,
1128 #endif 1130 #endif
1129 #if defined(OS_POSIX) 1131 #if defined(OS_POSIX)
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
1894 // Skip widgets in other processes. 1896 // Skip widgets in other processes.
1895 if (widget->GetProcess()->GetID() != GetID()) 1897 if (widget->GetProcess()->GetID() != GetID())
1896 continue; 1898 continue;
1897 1899
1898 RenderViewHost* rvh = RenderViewHost::From(widget); 1900 RenderViewHost* rvh = RenderViewHost::From(widget);
1899 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1901 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1900 } 1902 }
1901 } 1903 }
1902 1904
1903 } // namespace content 1905 } // namespace content
OLDNEW
« chrome/app/generated_resources.grd ('K') | « chrome/browser/about_flags.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698