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/gpu/gpu_child_thread.h

Issue 2267843002: gpu host: Delete GpuMsg_Finalize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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/common/gpu_host_messages.h ('k') | content/gpu/gpu_child_thread.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_GPU_GPU_CHILD_THREAD_H_ 5 #ifndef CONTENT_GPU_GPU_CHILD_THREAD_H_
6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_ 6 #define CONTENT_GPU_GPU_CHILD_THREAD_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 void StoreShaderToDisk(int32_t client_id, 100 void StoreShaderToDisk(int32_t client_id,
101 const std::string& key, 101 const std::string& key,
102 const std::string& shader) override; 102 const std::string& shader) override;
103 103
104 // base::FieldTrialList::Observer: 104 // base::FieldTrialList::Observer:
105 void OnFieldTrialGroupFinalized(const std::string& trial_name, 105 void OnFieldTrialGroupFinalized(const std::string& trial_name,
106 const std::string& group_name) override; 106 const std::string& group_name) override;
107 107
108 // Message handlers. 108 // Message handlers.
109 void OnInitialize(const gpu::GpuPreferences& gpu_preferences); 109 void OnInitialize(const gpu::GpuPreferences& gpu_preferences);
110 void OnFinalize();
111 void OnCollectGraphicsInfo(); 110 void OnCollectGraphicsInfo();
112 void OnGetVideoMemoryUsageStats(); 111 void OnGetVideoMemoryUsageStats();
113 void OnSetVideoMemoryWindowCount(uint32_t window_count); 112 void OnSetVideoMemoryWindowCount(uint32_t window_count);
114 113
115 void OnClean(); 114 void OnClean();
116 void OnCrash(); 115 void OnCrash();
117 void OnHang(); 116 void OnHang();
118 void OnDisableWatchdog(); 117 void OnDisableWatchdog();
119 void OnGpuSwitched(); 118 void OnGpuSwitched();
120 119
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 168
170 // Bindings to the shell::mojom::ServiceFactory impl. 169 // Bindings to the shell::mojom::ServiceFactory impl.
171 mojo::BindingSet<shell::mojom::ServiceFactory> service_factory_bindings_; 170 mojo::BindingSet<shell::mojom::ServiceFactory> service_factory_bindings_;
172 171
173 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); 172 DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
174 }; 173 };
175 174
176 } // namespace content 175 } // namespace content
177 176
178 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ 177 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « content/common/gpu_host_messages.h ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698