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

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

Issue 11416367: Add Opus decode wrapper to media. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move opus support behind a flag, and add canPlayType support. Created 8 years 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 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 switches::kEnableSandboxLogging, 785 switches::kEnableSandboxLogging,
786 #endif 786 #endif
787 switches::kEnableSeccompSandbox, 787 switches::kEnableSeccompSandbox,
788 switches::kEnableSoftwareCompositingGLAdapter, 788 switches::kEnableSoftwareCompositingGLAdapter,
789 switches::kEnableStatsTable, 789 switches::kEnableStatsTable,
790 switches::kEnableThreadedCompositing, 790 switches::kEnableThreadedCompositing,
791 switches::kEnableTouchDragDrop, 791 switches::kEnableTouchDragDrop,
792 switches::kDisableThreadedCompositing, 792 switches::kDisableThreadedCompositing,
793 switches::kDisableTouchAdjustment, 793 switches::kDisableTouchAdjustment,
794 switches::kEnableViewport, 794 switches::kEnableViewport,
795 switches::kEnableVp9OpusPlayback,
795 switches::kForceDeviceScaleFactor, 796 switches::kForceDeviceScaleFactor,
796 switches::kFullMemoryCrashReport, 797 switches::kFullMemoryCrashReport,
797 #if !defined (GOOGLE_CHROME_BUILD) 798 #if !defined (GOOGLE_CHROME_BUILD)
798 // These are unsupported and not fully tested modes, so don't enable them 799 // These are unsupported and not fully tested modes, so don't enable them
799 // for official Google Chrome builds. 800 // for official Google Chrome builds.
800 switches::kInProcessPlugins, 801 switches::kInProcessPlugins,
801 #endif // GOOGLE_CHROME_BUILD 802 #endif // GOOGLE_CHROME_BUILD
802 switches::kInProcessWebGL, 803 switches::kInProcessWebGL,
803 switches::kJavaScriptFlags, 804 switches::kJavaScriptFlags,
804 switches::kLoggingLevel, 805 switches::kLoggingLevel,
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
1588 int32 gpu_process_host_id) { 1589 int32 gpu_process_host_id) {
1589 TRACE_EVENT0("renderer_host", 1590 TRACE_EVENT0("renderer_host",
1590 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1591 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1591 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1592 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1592 gpu_process_host_id, 1593 gpu_process_host_id,
1593 surface_handle, 1594 surface_handle,
1594 0); 1595 0);
1595 } 1596 }
1596 1597
1597 } // namespace content 1598 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698