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 = false); | |
Ken Russell (switch to Gerrit)
2014/09/04 00:23:26
Default arguments are not allowed per the style gu
zino
2014/09/05 03:47:47
Done.
| |
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 OnSaveImageFromDataURL(int render_view_id, const std::string& url); |
194 void OnCheckNotificationPermission(const GURL& source_origin, | 199 void OnCheckNotificationPermission(const GURL& source_origin, |
195 int* permission_level); | 200 int* permission_level); |
196 | 201 |
197 void OnGetCPUUsage(int* cpu_usage); | 202 void OnGetCPUUsage(int* cpu_usage); |
198 | 203 |
199 void OnGetAudioHardwareConfig(media::AudioParameters* input_params, | 204 void OnGetAudioHardwareConfig(media::AudioParameters* input_params, |
200 media::AudioParameters* output_params); | 205 media::AudioParameters* output_params); |
201 | 206 |
202 #if defined(OS_WIN) | 207 #if defined(OS_WIN) |
203 // Used to look up the monitor color profile. | 208 // Used to look up the monitor color profile. |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
313 | 318 |
314 media::AudioManager* audio_manager_; | 319 media::AudioManager* audio_manager_; |
315 MediaInternals* media_internals_; | 320 MediaInternals* media_internals_; |
316 | 321 |
317 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); | 322 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); |
318 }; | 323 }; |
319 | 324 |
320 } // namespace content | 325 } // namespace content |
321 | 326 |
322 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ | 327 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ |
OLD | NEW |