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