OLD | NEW |
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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 int32 pp_instance, | 184 int32 pp_instance, |
185 PepperRendererInstanceData instance_data, | 185 PepperRendererInstanceData instance_data, |
186 bool is_external); | 186 bool is_external); |
187 void OnDidDeleteOutOfProcessPepperInstance(int plugin_child_id, | 187 void OnDidDeleteOutOfProcessPepperInstance(int plugin_child_id, |
188 int32 pp_instance, | 188 int32 pp_instance, |
189 bool is_external); | 189 bool is_external); |
190 void OnOpenChannelToPpapiBroker(int routing_id, | 190 void OnOpenChannelToPpapiBroker(int routing_id, |
191 const base::FilePath& path); | 191 const base::FilePath& path); |
192 #endif // defined(ENABLE_PLUGINS) | 192 #endif // defined(ENABLE_PLUGINS) |
193 void OnGenerateRoutingID(int* route_id); | 193 void OnGenerateRoutingID(int* route_id); |
| 194 void DownloadUrl(int render_view_id, |
| 195 const GURL& url, |
| 196 const Referrer& referrer, |
| 197 const base::string16& suggested_name, |
| 198 const bool use_prompt); |
194 void OnDownloadUrl(int render_view_id, | 199 void OnDownloadUrl(int render_view_id, |
195 const GURL& url, | 200 const GURL& url, |
196 const Referrer& referrer, | 201 const Referrer& referrer, |
197 const base::string16& suggested_name, | 202 const base::string16& suggested_name); |
198 const bool use_prompt); | 203 void OnSaveImageFromDataURL(int render_view_id, const std::string& url); |
199 void OnCheckNotificationPermission(const GURL& source_origin, | 204 void OnCheckNotificationPermission(const GURL& source_origin, |
200 int* permission_level); | 205 int* permission_level); |
201 | 206 |
202 void OnGetCPUUsage(int* cpu_usage); | 207 void OnGetCPUUsage(int* cpu_usage); |
203 | 208 |
204 void OnGetAudioHardwareConfig(media::AudioParameters* input_params, | 209 void OnGetAudioHardwareConfig(media::AudioParameters* input_params, |
205 media::AudioParameters* output_params); | 210 media::AudioParameters* output_params); |
206 | 211 |
207 #if defined(OS_WIN) | 212 #if defined(OS_WIN) |
208 // Used to look up the monitor color profile. | 213 // Used to look up the monitor color profile. |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 | 323 |
319 media::AudioManager* audio_manager_; | 324 media::AudioManager* audio_manager_; |
320 MediaInternals* media_internals_; | 325 MediaInternals* media_internals_; |
321 | 326 |
322 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); | 327 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); |
323 }; | 328 }; |
324 | 329 |
325 } // namespace content | 330 } // namespace content |
326 | 331 |
327 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 332 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
OLD | NEW |