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

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

Issue 283623002: Add support for passing an arbitrary parameter to an IPC message handler. The motivation is for Web… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 6 years, 7 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 | Annotate | Revision Log
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 #if defined(OS_WIN) 8 #if defined(OS_WIN)
9 #include <windows.h> 9 #include <windows.h>
10 #endif 10 #endif
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 int plugin_child_id, 186 int plugin_child_id,
187 int32 pp_instance, 187 int32 pp_instance,
188 PepperRendererInstanceData instance_data, 188 PepperRendererInstanceData instance_data,
189 bool is_external); 189 bool is_external);
190 void OnDidDeleteOutOfProcessPepperInstance(int plugin_child_id, 190 void OnDidDeleteOutOfProcessPepperInstance(int plugin_child_id,
191 int32 pp_instance, 191 int32 pp_instance,
192 bool is_external); 192 bool is_external);
193 void OnOpenChannelToPpapiBroker(int routing_id, 193 void OnOpenChannelToPpapiBroker(int routing_id,
194 const base::FilePath& path); 194 const base::FilePath& path);
195 void OnGenerateRoutingID(int* route_id); 195 void OnGenerateRoutingID(int* route_id);
196 void OnDownloadUrl(const IPC::Message& message, 196 void OnDownloadUrl(int render_view_id,
197 const GURL& url, 197 const GURL& url,
198 const Referrer& referrer, 198 const Referrer& referrer,
199 const base::string16& suggested_name, 199 const base::string16& suggested_name,
200 const bool use_prompt); 200 const bool use_prompt);
201 void OnCheckNotificationPermission(const GURL& source_origin, 201 void OnCheckNotificationPermission(const GURL& source_origin,
202 int* permission_level); 202 int* permission_level);
203 203
204 void OnGetCPUUsage(int* cpu_usage); 204 void OnGetCPUUsage(int* cpu_usage);
205 205
206 void OnGetAudioHardwareConfig(media::AudioParameters* input_params, 206 void OnGetAudioHardwareConfig(media::AudioParameters* input_params,
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 #if defined(OS_MACOSX) 323 #if defined(OS_MACOSX)
324 base::ScopedCFTypeRef<CFTypeRef> last_io_surface_; 324 base::ScopedCFTypeRef<CFTypeRef> last_io_surface_;
325 #endif 325 #endif
326 326
327 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); 327 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter);
328 }; 328 };
329 329
330 } // namespace content 330 } // namespace content
331 331
332 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 332 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/p2p/socket_dispatcher_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