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

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

Issue 19267016: Add a flag to allow renderer to use software compositor when GL compositor doesn't work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | 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 // 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 868 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 switches::kDisableBreakpad, 879 switches::kDisableBreakpad,
880 switches::kDisableDatabases, 880 switches::kDisableDatabases,
881 switches::kDisableDelegatedRenderer, 881 switches::kDisableDelegatedRenderer,
882 switches::kDisableDesktopNotifications, 882 switches::kDisableDesktopNotifications,
883 switches::kDisableDeviceOrientation, 883 switches::kDisableDeviceOrientation,
884 switches::kDisableFileSystem, 884 switches::kDisableFileSystem,
885 switches::kDisableGeolocation, 885 switches::kDisableGeolocation,
886 switches::kDisableGLMultisampling, 886 switches::kDisableGLMultisampling,
887 switches::kDisableGpuVsync, 887 switches::kDisableGpuVsync,
888 switches::kDisableGpu, 888 switches::kDisableGpu,
889 switches::kDisableGpuCompositing,
889 switches::kDisableHistogramCustomizer, 890 switches::kDisableHistogramCustomizer,
890 switches::kDisableLocalStorage, 891 switches::kDisableLocalStorage,
891 switches::kDisableLogging, 892 switches::kDisableLogging,
892 switches::kDisableNewDialogStyle, 893 switches::kDisableNewDialogStyle,
893 switches::kDisableSeccompFilterSandbox, 894 switches::kDisableSeccompFilterSandbox,
894 switches::kDisableSessionStorage, 895 switches::kDisableSessionStorage,
895 switches::kDisableSharedWorkers, 896 switches::kDisableSharedWorkers,
896 switches::kDisableSpeechInput, 897 switches::kDisableSpeechInput,
897 switches::kDisableTouchDragDrop, 898 switches::kDisableTouchDragDrop,
898 switches::kDisableTouchEditing, 899 switches::kDisableTouchEditing,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 switches::kDisablePepper3d, 949 switches::kDisablePepper3d,
949 #endif 950 #endif
950 switches::kEnablePreparsedJsCaching, 951 switches::kEnablePreparsedJsCaching,
951 switches::kEnablePruneGpuCommandBuffers, 952 switches::kEnablePruneGpuCommandBuffers,
952 switches::kEnablePinch, 953 switches::kEnablePinch,
953 switches::kDisablePinch, 954 switches::kDisablePinch,
954 #if defined(OS_MACOSX) 955 #if defined(OS_MACOSX)
955 // Allow this to be set when invoking the browser and relayed along. 956 // Allow this to be set when invoking the browser and relayed along.
956 switches::kEnableSandboxLogging, 957 switches::kEnableSandboxLogging,
957 #endif 958 #endif
958 switches::kEnableSoftwareCompositingGLAdapter, 959 switches::kEnableSoftwareCompositing,
959 switches::kEnableStatsTable, 960 switches::kEnableStatsTable,
960 switches::kEnableThreadedCompositing, 961 switches::kEnableThreadedCompositing,
961 switches::kEnableCompositingForFixedPosition, 962 switches::kEnableCompositingForFixedPosition,
962 switches::kEnableHighDpiCompositingForFixedPosition, 963 switches::kEnableHighDpiCompositingForFixedPosition,
963 switches::kDisableCompositingForFixedPosition, 964 switches::kDisableCompositingForFixedPosition,
964 switches::kEnableAcceleratedOverflowScroll, 965 switches::kEnableAcceleratedOverflowScroll,
965 switches::kEnableCompositingForTransition, 966 switches::kEnableCompositingForTransition,
966 switches::kDisableCompositingForTransition, 967 switches::kDisableCompositingForTransition,
967 switches::kEnableAcceleratedFixedRootBackground, 968 switches::kEnableAcceleratedFixedRootBackground,
968 switches::kDisableAcceleratedFixedRootBackground, 969 switches::kDisableAcceleratedFixedRootBackground,
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
1799 // Skip widgets in other processes. 1800 // Skip widgets in other processes.
1800 if (widgets[i]->GetProcess()->GetID() != GetID()) 1801 if (widgets[i]->GetProcess()->GetID() != GetID())
1801 continue; 1802 continue;
1802 1803
1803 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); 1804 RenderViewHost* rvh = RenderViewHost::From(widgets[i]);
1804 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1805 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1805 } 1806 }
1806 } 1807 }
1807 1808
1808 } // namespace content 1809 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698