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

Side by Side Diff: content/browser/renderer_host/render_message_filter.h

Issue 2810593003: gpu: Some cleanups. (Closed)
Patch Set: . Created 3 years, 8 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) 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_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 const CreateNewWidgetCallback& callback) override; 119 const CreateNewWidgetCallback& callback) override;
120 void CreateFullscreenWidget( 120 void CreateFullscreenWidget(
121 int opener_id, 121 int opener_id,
122 const CreateFullscreenWidgetCallback& callback) override; 122 const CreateFullscreenWidgetCallback& callback) override;
123 void GetSharedBitmapManager( 123 void GetSharedBitmapManager(
124 cc::mojom::SharedBitmapManagerAssociatedRequest request) override; 124 cc::mojom::SharedBitmapManagerAssociatedRequest request) override;
125 125
126 // Message handlers called on the browser IO thread: 126 // Message handlers called on the browser IO thread:
127 void OnHasGpuProcess(IPC::Message* reply); 127 void OnHasGpuProcess(IPC::Message* reply);
128 // Helper callbacks for the message handlers. 128 // Helper callbacks for the message handlers.
129 void GetGpuProcessHandlesCallback( 129 void GetHasGpuProcessCallback(std::unique_ptr<IPC::Message> reply,
130 std::unique_ptr<IPC::Message> reply, 130 bool has_gpu);
131 const std::list<base::ProcessHandle>& handles);
132 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg); 131 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg);
133 132
134 #if defined(OS_LINUX) 133 #if defined(OS_LINUX)
135 void SetThreadPriorityOnFileThread(base::PlatformThreadId ns_tid, 134 void SetThreadPriorityOnFileThread(base::PlatformThreadId ns_tid,
136 base::ThreadPriority priority); 135 base::ThreadPriority priority);
137 void OnSetThreadPriority(base::PlatformThreadId ns_tid, 136 void OnSetThreadPriority(base::PlatformThreadId ns_tid,
138 base::ThreadPriority priority); 137 base::ThreadPriority priority);
139 #endif 138 #endif
140 139
141 void OnCacheableMetadataAvailable(const GURL& url, 140 void OnCacheableMetadataAvailable(const GURL& url,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 CacheStorageContextImpl* cache_storage_context_; 181 CacheStorageContextImpl* cache_storage_context_;
183 182
184 base::WeakPtrFactory<RenderMessageFilter> weak_ptr_factory_; 183 base::WeakPtrFactory<RenderMessageFilter> weak_ptr_factory_;
185 184
186 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); 185 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter);
187 }; 186 };
188 187
189 } // namespace content 188 } // namespace content
190 189
191 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 190 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698