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

Side by Side Diff: content/gpu/gpu_child_thread.h

Issue 2118083002: ShellClient -> Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mus2
Patch Set: . Created 4 years, 5 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/process_control.mojom ('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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void Init(const base::Time& process_start_time); 80 void Init(const base::Time& process_start_time);
81 void StopWatchdog(); 81 void StopWatchdog();
82 82
83 gpu::GpuPreferences gpu_preferences() { return gpu_preferences_; } 83 gpu::GpuPreferences gpu_preferences() { return gpu_preferences_; }
84 84
85 private: 85 private:
86 // ChildThreadImpl:. 86 // ChildThreadImpl:.
87 bool Send(IPC::Message* msg) override; 87 bool Send(IPC::Message* msg) override;
88 bool OnControlMessageReceived(const IPC::Message& msg) override; 88 bool OnControlMessageReceived(const IPC::Message& msg) override;
89 bool OnMessageReceived(const IPC::Message& msg) override; 89 bool OnMessageReceived(const IPC::Message& msg) override;
90 bool AcceptConnection(shell::Connection* connection) override; 90 bool OnConnect(shell::Connection* connection) override;
91 shell::InterfaceRegistry* GetInterfaceRegistryForConnection() override; 91 shell::InterfaceRegistry* GetInterfaceRegistryForConnection() override;
92 shell::InterfaceProvider* GetInterfaceProviderForConnection() override; 92 shell::InterfaceProvider* GetInterfaceProviderForConnection() override;
93 93
94 // gpu::GpuChannelManagerDelegate: 94 // gpu::GpuChannelManagerDelegate:
95 void SetActiveURL(const GURL& url) override; 95 void SetActiveURL(const GURL& url) override;
96 void DidCreateOffscreenContext(const GURL& active_url) override; 96 void DidCreateOffscreenContext(const GURL& active_url) override;
97 void DidDestroyChannel(int client_id) override; 97 void DidDestroyChannel(int client_id) override;
98 void DidDestroyOffscreenContext(const GURL& active_url) override; 98 void DidDestroyOffscreenContext(const GURL& active_url) override;
99 void DidLoseContext(bool offscreen, 99 void DidLoseContext(bool offscreen,
100 gpu::error::ContextLostReason reason, 100 gpu::error::ContextLostReason reason,
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 mojo::BindingSet<mojom::ProcessControl> process_control_bindings_; 180 mojo::BindingSet<mojom::ProcessControl> process_control_bindings_;
181 181
182 base::Closure resume_interface_bindings_callback_; 182 base::Closure resume_interface_bindings_callback_;
183 183
184 DISALLOW_COPY_AND_ASSIGN(GpuChildThread); 184 DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
185 }; 185 };
186 186
187 } // namespace content 187 } // namespace content
188 188
189 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_ 189 #endif // CONTENT_GPU_GPU_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « content/common/process_control.mojom ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698