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

Side by Side Diff: content/common/gpu/gpu_channel_test_common.h

Issue 1823763003: Move more files to gpu/ipc/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed GYP build Created 4 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) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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 #include <stdint.h> 5 #include <stdint.h>
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "content/common/gpu/gpu_channel.h" 8 #include "content/common/gpu/gpu_channel.h"
9 #include "content/common/gpu/gpu_channel_manager.h" 9 #include "content/common/gpu/gpu_channel_manager.h"
10 #include "content/common/gpu/gpu_channel_manager_delegate.h" 10 #include "content/common/gpu/gpu_channel_manager_delegate.h"
(...skipping 23 matching lines...) Expand all
34 private: 34 private:
35 // GpuChannelManagerDelegate implementation: 35 // GpuChannelManagerDelegate implementation:
36 void SetActiveURL(const GURL& url) override; 36 void SetActiveURL(const GURL& url) override;
37 void AddSubscription(int32_t client_id, unsigned int target) override; 37 void AddSubscription(int32_t client_id, unsigned int target) override;
38 void DidCreateOffscreenContext(const GURL& active_url) override; 38 void DidCreateOffscreenContext(const GURL& active_url) override;
39 void DidDestroyChannel(int client_id) override; 39 void DidDestroyChannel(int client_id) override;
40 void DidDestroyOffscreenContext(const GURL& active_url) override; 40 void DidDestroyOffscreenContext(const GURL& active_url) override;
41 void DidLoseContext(bool offscreen, 41 void DidLoseContext(bool offscreen,
42 gpu::error::ContextLostReason reason, 42 gpu::error::ContextLostReason reason,
43 const GURL& active_url) override; 43 const GURL& active_url) override;
44 void GpuMemoryUmaStats(const GPUMemoryUmaStats& params) override; 44 void GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) override;
45 void RemoveSubscription(int32_t client_id, unsigned int target) override; 45 void RemoveSubscription(int32_t client_id, unsigned int target) override;
46 void StoreShaderToDisk(int32_t client_id, 46 void StoreShaderToDisk(int32_t client_id,
47 const std::string& key, 47 const std::string& key,
48 const std::string& shader) override; 48 const std::string& shader) override;
49 #if defined(OS_MACOSX) 49 #if defined(OS_MACOSX)
50 void SendAcceleratedSurfaceBuffersSwapped( 50 void SendAcceleratedSurfaceBuffersSwapped(
51 const AcceleratedSurfaceBuffersSwappedParams& params) override; 51 const AcceleratedSurfaceBuffersSwappedParams& params) override;
52 #endif 52 #endif
53 #if defined(OS_WIN) 53 #if defined(OS_WIN)
54 void SendAcceleratedSurfaceCreatedChildWindow( 54 void SendAcceleratedSurfaceCreatedChildWindow(
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 private: 121 private:
122 gpu::GpuPreferences gpu_preferences_; 122 gpu::GpuPreferences gpu_preferences_;
123 scoped_refptr<base::TestSimpleTaskRunner> task_runner_; 123 scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
124 scoped_refptr<base::TestSimpleTaskRunner> io_task_runner_; 124 scoped_refptr<base::TestSimpleTaskRunner> io_task_runner_;
125 scoped_ptr<gpu::SyncPointManager> sync_point_manager_; 125 scoped_ptr<gpu::SyncPointManager> sync_point_manager_;
126 scoped_ptr<TestGpuChannelManagerDelegate> channel_manager_delegate_; 126 scoped_ptr<TestGpuChannelManagerDelegate> channel_manager_delegate_;
127 scoped_ptr<GpuChannelManager> channel_manager_; 127 scoped_ptr<GpuChannelManager> channel_manager_;
128 }; 128 };
129 129
130 } // namespace content 130 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_channel_manager_delegate.h ('k') | content/common/gpu/gpu_channel_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698