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

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

Issue 12443003: Implement out-of-band video compositing on Android: Step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit2 Created 7 years, 9 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 #include "ipc/ipc_platform_file.h" 116 #include "ipc/ipc_platform_file.h"
117 #include "ipc/ipc_switches.h" 117 #include "ipc/ipc_switches.h"
118 #include "ipc/ipc_sync_channel.h" 118 #include "ipc/ipc_sync_channel.h"
119 #include "media/base/media_switches.h" 119 #include "media/base/media_switches.h"
120 #include "net/url_request/url_request_context_getter.h" 120 #include "net/url_request/url_request_context_getter.h"
121 #include "ppapi/shared_impl/ppapi_switches.h" 121 #include "ppapi/shared_impl/ppapi_switches.h"
122 #include "ui/base/ui_base_switches.h" 122 #include "ui/base/ui_base_switches.h"
123 #include "ui/gl/gl_switches.h" 123 #include "ui/gl/gl_switches.h"
124 #include "webkit/fileapi/sandbox_mount_point_provider.h" 124 #include "webkit/fileapi/sandbox_mount_point_provider.h"
125 #include "webkit/glue/resource_type.h" 125 #include "webkit/glue/resource_type.h"
126 #include "webkit/media/media_switches.h"
126 #include "webkit/plugins/plugin_switches.h" 127 #include "webkit/plugins/plugin_switches.h"
127 128
128 #if defined(OS_WIN) 129 #if defined(OS_WIN)
129 #include "base/win/scoped_com_initializer.h" 130 #include "base/win/scoped_com_initializer.h"
130 #include "content/common/font_cache_dispatcher_win.h" 131 #include "content/common/font_cache_dispatcher_win.h"
131 #endif 132 #endif
132 133
133 #include "third_party/skia/include/core/SkBitmap.h" 134 #include "third_party/skia/include/core/SkBitmap.h"
134 135
135 extern bool g_exited_main_message_loop; 136 extern bool g_exited_main_message_loop;
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 // for official Google Chrome builds. 847 // for official Google Chrome builds.
847 switches::kInProcessPlugins, 848 switches::kInProcessPlugins,
848 #endif // GOOGLE_CHROME_BUILD 849 #endif // GOOGLE_CHROME_BUILD
849 switches::kInProcessWebGL, 850 switches::kInProcessWebGL,
850 switches::kJavaScriptFlags, 851 switches::kJavaScriptFlags,
851 switches::kLoggingLevel, 852 switches::kLoggingLevel,
852 switches::kMemoryMetrics, 853 switches::kMemoryMetrics,
853 #if defined(OS_ANDROID) 854 #if defined(OS_ANDROID)
854 switches::kNetworkCountryIso, 855 switches::kNetworkCountryIso,
855 switches::kDisableGestureRequirementForMediaPlayback, 856 switches::kDisableGestureRequirementForMediaPlayback,
857 switches::kUseExternalVideoSurface,
856 #endif 858 #endif
857 switches::kNoReferrers, 859 switches::kNoReferrers,
858 switches::kNoSandbox, 860 switches::kNoSandbox,
859 switches::kPpapiInProcess, 861 switches::kPpapiInProcess,
860 switches::kRegisterPepperPlugins, 862 switches::kRegisterPepperPlugins,
861 switches::kRendererAssertTest, 863 switches::kRendererAssertTest,
862 #if defined(OS_POSIX) 864 #if defined(OS_POSIX)
863 switches::kChildCleanExit, 865 switches::kChildCleanExit,
864 #endif 866 #endif
865 switches::kRendererStartupDialog, 867 switches::kRendererStartupDialog,
(...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
1665 TRACE_EVENT0("renderer_host", 1667 TRACE_EVENT0("renderer_host",
1666 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1668 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1667 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; 1669 AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
1668 ack_params.sync_point = 0; 1670 ack_params.sync_point = 0;
1669 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1671 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1670 gpu_process_host_id, 1672 gpu_process_host_id,
1671 ack_params); 1673 ack_params);
1672 } 1674 }
1673 1675
1674 } // namespace content 1676 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698