OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
10 #include <windows.h> | 10 #include <windows.h> |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 int request_id, | 175 int request_id, |
176 const FilePath& path); | 176 const FilePath& path); |
177 void OnGenerateRoutingID(int* route_id); | 177 void OnGenerateRoutingID(int* route_id); |
178 void OnDownloadUrl(const IPC::Message& message, | 178 void OnDownloadUrl(const IPC::Message& message, |
179 const GURL& url, | 179 const GURL& url, |
180 const GURL& referrer, | 180 const GURL& referrer, |
181 const string16& suggested_name); | 181 const string16& suggested_name); |
182 void OnCheckNotificationPermission(const GURL& source_origin, | 182 void OnCheckNotificationPermission(const GURL& source_origin, |
183 int* permission_level); | 183 int* permission_level); |
184 | 184 |
| 185 void OnGetHardwareBufferSize(uint32* buffer_size); |
185 void OnGetHardwareInputSampleRate(double* sample_rate); | 186 void OnGetHardwareInputSampleRate(double* sample_rate); |
186 void OnGetHardwareSampleRate(double* sample_rate); | 187 void OnGetHardwareSampleRate(double* sample_rate); |
187 | 188 |
188 // Used to ask the browser to allocate a block of shared memory for the | 189 // Used to ask the browser to allocate a block of shared memory for the |
189 // renderer to send back data in, since shared memory can't be created | 190 // renderer to send back data in, since shared memory can't be created |
190 // in the renderer on POSIX due to the sandbox. | 191 // in the renderer on POSIX due to the sandbox. |
191 void OnAllocateSharedMemory(uint32 buffer_size, | 192 void OnAllocateSharedMemory(uint32 buffer_size, |
192 base::SharedMemoryHandle* handle); | 193 base::SharedMemoryHandle* handle); |
193 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg); | 194 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg); |
194 | 195 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 scoped_refptr<WebKitContext> webkit_context_; | 263 scoped_refptr<WebKitContext> webkit_context_; |
263 | 264 |
264 int render_process_id_; | 265 int render_process_id_; |
265 | 266 |
266 std::set<OpenChannelToNpapiPluginCallback*> plugin_host_clients_; | 267 std::set<OpenChannelToNpapiPluginCallback*> plugin_host_clients_; |
267 | 268 |
268 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); | 269 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); |
269 }; | 270 }; |
270 | 271 |
271 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 272 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
OLD | NEW |