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

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

Issue 2832633002: Add PDF compositor service (Closed)
Patch Set: rebase Created 3 years, 7 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
« no previous file with comments | « content/public/renderer/render_thread.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 186
187 // When initializing WebKit, ensure that any schemes needed for the content 187 // When initializing WebKit, ensure that any schemes needed for the content
188 // module are registered properly. Static to allow sharing with tests. 188 // module are registered properly. Static to allow sharing with tests.
189 static void RegisterSchemes(); 189 static void RegisterSchemes();
190 190
191 // RenderThread implementation: 191 // RenderThread implementation:
192 bool Send(IPC::Message* msg) override; 192 bool Send(IPC::Message* msg) override;
193 IPC::SyncChannel* GetChannel() override; 193 IPC::SyncChannel* GetChannel() override;
194 std::string GetLocale() override; 194 std::string GetLocale() override;
195 IPC::SyncMessageFilter* GetSyncMessageFilter() override; 195 IPC::SyncMessageFilter* GetSyncMessageFilter() override;
196 scoped_refptr<base::SingleThreadTaskRunner> GetIOTaskRunner() override;
197 void AddRoute(int32_t routing_id, IPC::Listener* listener) override; 196 void AddRoute(int32_t routing_id, IPC::Listener* listener) override;
198 void RemoveRoute(int32_t routing_id) override; 197 void RemoveRoute(int32_t routing_id) override;
199 int GenerateRoutingID() override; 198 int GenerateRoutingID() override;
200 void AddFilter(IPC::MessageFilter* filter) override; 199 void AddFilter(IPC::MessageFilter* filter) override;
201 void RemoveFilter(IPC::MessageFilter* filter) override; 200 void RemoveFilter(IPC::MessageFilter* filter) override;
202 void AddObserver(RenderThreadObserver* observer) override; 201 void AddObserver(RenderThreadObserver* observer) override;
203 void RemoveObserver(RenderThreadObserver* observer) override; 202 void RemoveObserver(RenderThreadObserver* observer) override;
204 void SetResourceDispatcherDelegate( 203 void SetResourceDispatcherDelegate(
205 ResourceDispatcherDelegate* delegate) override; 204 ResourceDispatcherDelegate* delegate) override;
206 std::unique_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer( 205 std::unique_ptr<base::SharedMemory> HostAllocateSharedMemoryBuffer(
(...skipping 12 matching lines...) Expand all
219 scoped_refptr<base::SingleThreadTaskRunner> GetTimerTaskRunner() override; 218 scoped_refptr<base::SingleThreadTaskRunner> GetTimerTaskRunner() override;
220 scoped_refptr<base::SingleThreadTaskRunner> GetLoadingTaskRunner() override; 219 scoped_refptr<base::SingleThreadTaskRunner> GetLoadingTaskRunner() override;
221 void SetFieldTrialGroup(const std::string& trial_name, 220 void SetFieldTrialGroup(const std::string& trial_name,
222 const std::string& group_name) override; 221 const std::string& group_name) override;
223 222
224 // IPC::Listener implementation via ChildThreadImpl: 223 // IPC::Listener implementation via ChildThreadImpl:
225 void OnAssociatedInterfaceRequest( 224 void OnAssociatedInterfaceRequest(
226 const std::string& name, 225 const std::string& name,
227 mojo::ScopedInterfaceEndpointHandle handle) override; 226 mojo::ScopedInterfaceEndpointHandle handle) override;
228 227
228 // ChildThread implementation via ChildThreadImpl:
229 scoped_refptr<base::SingleThreadTaskRunner> GetIOTaskRunner() override;
230
229 // CompositorDependencies implementation. 231 // CompositorDependencies implementation.
230 bool IsGpuRasterizationForced() override; 232 bool IsGpuRasterizationForced() override;
231 bool IsAsyncWorkerContextEnabled() override; 233 bool IsAsyncWorkerContextEnabled() override;
232 int GetGpuRasterizationMSAASampleCount() override; 234 int GetGpuRasterizationMSAASampleCount() override;
233 bool IsLcdTextEnabled() override; 235 bool IsLcdTextEnabled() override;
234 bool IsDistanceFieldTextEnabled() override; 236 bool IsDistanceFieldTextEnabled() override;
235 bool IsZeroCopyEnabled() override; 237 bool IsZeroCopyEnabled() override;
236 bool IsPartialRasterEnabled() override; 238 bool IsPartialRasterEnabled() override;
237 bool IsGpuMemoryBufferCompositorResourcesEnabled() override; 239 bool IsGpuMemoryBufferCompositorResourcesEnabled() override;
238 bool IsElasticOverscrollEnabled() override; 240 bool IsElasticOverscrollEnabled() override;
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 805 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
804 }; 806 };
805 807
806 #if defined(COMPILER_MSVC) 808 #if defined(COMPILER_MSVC)
807 #pragma warning(pop) 809 #pragma warning(pop)
808 #endif 810 #endif
809 811
810 } // namespace content 812 } // namespace content
811 813
812 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 814 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/renderer/render_thread.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698