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

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

Issue 20632002: Add media::VideoEncodeAccelerator with WebRTC integration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@git-svn
Patch Set: 7fd9dbd5 More debugging statements, some fixes Created 7 years, 5 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
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 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
864 CommandLine* renderer_cmd) const { 864 CommandLine* renderer_cmd) const {
865 // Propagate the following switches to the renderer command line (along 865 // Propagate the following switches to the renderer command line (along
866 // with any associated values) if present in the browser command line. 866 // with any associated values) if present in the browser command line.
867 static const char* const kSwitchNames[] = { 867 static const char* const kSwitchNames[] = {
868 switches::kAudioBufferSize, 868 switches::kAudioBufferSize,
869 switches::kAuditAllHandles, 869 switches::kAuditAllHandles,
870 switches::kAuditHandles, 870 switches::kAuditHandles,
871 switches::kDisable3DAPIs, 871 switches::kDisable3DAPIs,
872 switches::kDisableAcceleratedCompositing, 872 switches::kDisableAcceleratedCompositing,
873 switches::kDisableAcceleratedVideoDecode, 873 switches::kDisableAcceleratedVideoDecode,
874 switches::kDisableAcceleratedVideoEncode,
Ami GONE FROM CHROMIUM 2013/07/31 23:01:12 Not sure what the point of this switch is consider
sheu 2013/08/02 01:27:49 Future-proofing? I'll remove it for now.
874 switches::kDisableApplicationCache, 875 switches::kDisableApplicationCache,
875 switches::kDisableAudio, 876 switches::kDisableAudio,
876 switches::kDisableBreakpad, 877 switches::kDisableBreakpad,
877 switches::kDisableDatabases, 878 switches::kDisableDatabases,
878 switches::kDisableDelegatedRenderer, 879 switches::kDisableDelegatedRenderer,
879 switches::kDisableDesktopNotifications, 880 switches::kDisableDesktopNotifications,
880 switches::kDisableDeviceOrientation, 881 switches::kDisableDeviceOrientation,
881 switches::kDisableFileSystem, 882 switches::kDisableFileSystem,
882 switches::kDisableGeolocation, 883 switches::kDisableGeolocation,
883 switches::kDisableGLMultisampling, 884 switches::kDisableGLMultisampling,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 switches::kEnableMemoryBenchmarking, 928 switches::kEnableMemoryBenchmarking,
928 switches::kEnableSkiaBenchmarking, 929 switches::kEnableSkiaBenchmarking,
929 switches::kEnableLogging, 930 switches::kEnableLogging,
930 switches::kEnableSpeechSynthesis, 931 switches::kEnableSpeechSynthesis,
931 switches::kEnableTouchDragDrop, 932 switches::kEnableTouchDragDrop,
932 switches::kEnableTouchEditing, 933 switches::kEnableTouchEditing,
933 #if defined(ENABLE_WEBRTC) 934 #if defined(ENABLE_WEBRTC)
934 switches::kEnableWebRtcAecRecordings, 935 switches::kEnableWebRtcAecRecordings,
935 switches::kEnableWebRtcTcpServerSocket, 936 switches::kEnableWebRtcTcpServerSocket,
936 switches::kEnableWebRtcHWDecoding, 937 switches::kEnableWebRtcHWDecoding,
938 switches::kEnableWebRtcHWEncoding,
937 #endif 939 #endif
938 #if defined(ANDROID) && !defined(GOOGLE_TV) 940 #if defined(ANDROID) && !defined(GOOGLE_TV)
939 switches::kEnableWebKitMediaSource, 941 switches::kEnableWebKitMediaSource,
940 #else 942 #else
941 switches::kDisableWebKitMediaSource, 943 switches::kDisableWebKitMediaSource,
942 #endif 944 #endif
943 switches::kEnableOverscrollNotifications, 945 switches::kEnableOverscrollNotifications,
944 switches::kEnableStrictSiteIsolation, 946 switches::kEnableStrictSiteIsolation,
945 switches::kDisableFullScreen, 947 switches::kDisableFullScreen,
946 switches::kEnableNewDialogStyle, 948 switches::kEnableNewDialogStyle,
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
1800 // Skip widgets in other processes. 1802 // Skip widgets in other processes.
1801 if (widgets[i]->GetProcess()->GetID() != GetID()) 1803 if (widgets[i]->GetProcess()->GetID() != GetID())
1802 continue; 1804 continue;
1803 1805
1804 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); 1806 RenderViewHost* rvh = RenderViewHost::From(widgets[i]);
1805 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1807 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1806 } 1808 }
1807 } 1809 }
1808 1810
1809 } // namespace content 1811 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698