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

Side by Side Diff: content/browser/gpu/browser_gpu_channel_host_factory.h

Issue 823713002: Standardize usage of virtual/override/final specifiers in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_
6 #define CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_ 6 #define CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 23 matching lines...) Expand all
34 bool IsMainThread() override; 34 bool IsMainThread() override;
35 base::MessageLoop* GetMainLoop() override; 35 base::MessageLoop* GetMainLoop() override;
36 scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() override; 36 scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() override;
37 scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override; 37 scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override;
38 CreateCommandBufferResult CreateViewCommandBuffer( 38 CreateCommandBufferResult CreateViewCommandBuffer(
39 int32 surface_id, 39 int32 surface_id,
40 const GPUCreateCommandBufferConfig& init_params, 40 const GPUCreateCommandBufferConfig& init_params,
41 int32 route_id) override; 41 int32 route_id) override;
42 42
43 // Overridden from GpuMemoryBufferFactoryHost: 43 // Overridden from GpuMemoryBufferFactoryHost:
44 virtual bool IsGpuMemoryBufferConfigurationSupported( 44 bool IsGpuMemoryBufferConfigurationSupported(
45 gfx::GpuMemoryBuffer::Format format, 45 gfx::GpuMemoryBuffer::Format format,
46 gfx::GpuMemoryBuffer::Usage usage) override; 46 gfx::GpuMemoryBuffer::Usage usage) override;
47 void CreateGpuMemoryBuffer( 47 void CreateGpuMemoryBuffer(
48 gfx::GpuMemoryBufferId id, 48 gfx::GpuMemoryBufferId id,
49 const gfx::Size& size, 49 const gfx::Size& size,
50 gfx::GpuMemoryBuffer::Format format, 50 gfx::GpuMemoryBuffer::Format format,
51 gfx::GpuMemoryBuffer::Usage usage, 51 gfx::GpuMemoryBuffer::Usage usage,
52 int client_id, 52 int client_id,
53 int32 surface_id, 53 int32 surface_id,
54 const CreateGpuMemoryBufferCallback& callback) override; 54 const CreateGpuMemoryBufferCallback& callback) override;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 CreateGpuMemoryBufferCallbackMap create_gpu_memory_buffer_requests_; 112 CreateGpuMemoryBufferCallbackMap create_gpu_memory_buffer_requests_;
113 113
114 static BrowserGpuChannelHostFactory* instance_; 114 static BrowserGpuChannelHostFactory* instance_;
115 115
116 DISALLOW_COPY_AND_ASSIGN(BrowserGpuChannelHostFactory); 116 DISALLOW_COPY_AND_ASSIGN(BrowserGpuChannelHostFactory);
117 }; 117 };
118 118
119 } // namespace content 119 } // namespace content
120 120
121 #endif // CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_ 121 #endif // CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_
OLDNEW
« no previous file with comments | « content/browser/dom_storage/dom_storage_task_runner.h ('k') | content/browser/permissions/permission_service_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698