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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 2626023007: Passing FrameSinkId to WindowCompositorFrameSink (Closed)
Patch Set: c Created 3 years, 11 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 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 // Synchronously establish a channel to the GPU plugin if not previously 243 // Synchronously establish a channel to the GPU plugin if not previously
244 // established or if it has been lost (for example if the GPU plugin crashed). 244 // established or if it has been lost (for example if the GPU plugin crashed).
245 // If there is a pending asynchronous request, it will be completed by the 245 // If there is a pending asynchronous request, it will be completed by the
246 // time this routine returns. 246 // time this routine returns.
247 scoped_refptr<gpu::GpuChannelHost> EstablishGpuChannelSync(); 247 scoped_refptr<gpu::GpuChannelHost> EstablishGpuChannelSync();
248 248
249 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager(); 249 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager();
250 250
251 std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink( 251 std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink(
252 const cc::FrameSinkId& frame_sink_id,
252 bool use_software, 253 bool use_software,
253 int routing_id, 254 int routing_id,
254 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue, 255 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue,
255 const GURL& url); 256 const GURL& url);
256 257
257 AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry(); 258 AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry();
258 259
259 std::unique_ptr<cc::SwapPromise> RequestCopyOfOutputForLayoutTest( 260 std::unique_ptr<cc::SwapPromise> RequestCopyOfOutputForLayoutTest(
260 int32_t routing_id, 261 int32_t routing_id,
261 std::unique_ptr<cc::CopyOutputRequest> request); 262 std::unique_ptr<cc::CopyOutputRequest> request);
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 773 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
773 }; 774 };
774 775
775 #if defined(COMPILER_MSVC) 776 #if defined(COMPILER_MSVC)
776 #pragma warning(pop) 777 #pragma warning(pop)
777 #endif 778 #endif
778 779
779 } // namespace content 780 } // namespace content
780 781
781 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 782 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/mus/render_widget_mus_connection.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698