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

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

Issue 263453007: Implement "Save image as" for canvas (chromium side). (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(const IPC::Message& message,
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 void OnCheckNotificationPermission(const GURL& source_origin, 201 void OnCheckNotificationPermission(const GURL& source_origin,
201 int* permission_level); 202 int* permission_level);
202 203
203 void OnGetCPUUsage(int* cpu_usage); 204 void OnGetCPUUsage(int* cpu_usage);
204 205
205 void OnGetAudioHardwareConfig(media::AudioParameters* input_params, 206 void OnGetAudioHardwareConfig(media::AudioParameters* input_params,
206 media::AudioParameters* output_params); 207 media::AudioParameters* output_params);
207 208
208 #if defined(OS_WIN) 209 #if defined(OS_WIN)
209 // Used to look up the monitor color profile. 210 // Used to look up the monitor color profile.
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 #if defined(OS_MACOSX) 323 #if defined(OS_MACOSX)
323 base::ScopedCFTypeRef<CFTypeRef> last_io_surface_; 324 base::ScopedCFTypeRef<CFTypeRef> last_io_surface_;
324 #endif 325 #endif
325 326
326 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); 327 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter);
327 }; 328 };
328 329
329 } // namespace content 330 } // namespace content
330 331
331 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 332 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698