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

Side by Side Diff: chrome/browser/renderer_host/resource_message_filter.h

Issue 199105: Continue with the FreeBSD port - this version builds and links, though... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 3 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 void OnGetPreferredExtensionForMimeType(const std::string& mime_type, 193 void OnGetPreferredExtensionForMimeType(const std::string& mime_type,
194 FilePath::StringType* ext); 194 FilePath::StringType* ext);
195 void OnGetCPBrowsingContext(uint32* context); 195 void OnGetCPBrowsingContext(uint32* context);
196 196
197 #if defined(OS_WIN) 197 #if defined(OS_WIN)
198 // Used to pass resulting EMF from renderer to browser in printing. 198 // Used to pass resulting EMF from renderer to browser in printing.
199 void OnDuplicateSection(base::SharedMemoryHandle renderer_handle, 199 void OnDuplicateSection(base::SharedMemoryHandle renderer_handle,
200 base::SharedMemoryHandle* browser_handle); 200 base::SharedMemoryHandle* browser_handle);
201 #endif 201 #endif
202 202
203 #if defined(OS_LINUX) 203 #if defined(USE_X11)
204 // Used to ask the browser allocate a block of shared memory for the renderer 204 // Used to ask the browser allocate a block of shared memory for the renderer
205 // to fill in resulting PDF in renderer. 205 // to fill in resulting PDF in renderer.
206 void OnAllocateShareMemory(size_t buffer_size, 206 void OnAllocateShareMemory(size_t buffer_size,
207 base::SharedMemoryHandle* browser_handle); 207 base::SharedMemoryHandle* browser_handle);
208 #endif 208 #endif
209 209
210 void OnResourceTypeStats(const WebKit::WebCache::ResourceTypeStats& stats); 210 void OnResourceTypeStats(const WebKit::WebCache::ResourceTypeStats& stats);
211 211
212 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg); 212 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg);
213 213
(...skipping 30 matching lines...) Expand all
244 void OnOpenChannelToTab(int routing_id, int tab_id, 244 void OnOpenChannelToTab(int routing_id, int tab_id,
245 const std::string& extension_id, 245 const std::string& extension_id,
246 const std::string& channel_name, int* port_id); 246 const std::string& channel_name, int* port_id);
247 247
248 void OnCloseIdleConnections(); 248 void OnCloseIdleConnections();
249 void OnSetCacheMode(bool enabled); 249 void OnSetCacheMode(bool enabled);
250 250
251 void OnGetFileSize(const FilePath& path, IPC::Message* reply_msg); 251 void OnGetFileSize(const FilePath& path, IPC::Message* reply_msg);
252 void ReplyGetFileSize(int64 result, void* param); 252 void ReplyGetFileSize(int64 result, void* param);
253 253
254 #if defined(OS_LINUX) 254 #if defined(USE_X11)
255 void SendDelayedReply(IPC::Message* reply_msg); 255 void SendDelayedReply(IPC::Message* reply_msg);
256 void DoOnGetScreenInfo(gfx::NativeViewId view, IPC::Message* reply_msg); 256 void DoOnGetScreenInfo(gfx::NativeViewId view, IPC::Message* reply_msg);
257 void DoOnGetWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg); 257 void DoOnGetWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg);
258 void DoOnGetRootWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg); 258 void DoOnGetRootWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg);
259 void DoOnClipboardIsFormatAvailable(Clipboard::FormatType format, 259 void DoOnClipboardIsFormatAvailable(Clipboard::FormatType format,
260 Clipboard::Buffer buffer, 260 Clipboard::Buffer buffer,
261 IPC::Message* reply_msg); 261 IPC::Message* reply_msg);
262 void DoOnClipboardReadText(Clipboard::Buffer buffer, IPC::Message* reply_msg); 262 void DoOnClipboardReadText(Clipboard::Buffer buffer, IPC::Message* reply_msg);
263 void DoOnClipboardReadAsciiText(Clipboard::Buffer buffer, 263 void DoOnClipboardReadAsciiText(Clipboard::Buffer buffer,
264 IPC::Message* reply_msg); 264 IPC::Message* reply_msg);
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 // Whether this process is used for off the record tabs. 338 // Whether this process is used for off the record tabs.
339 bool off_the_record_; 339 bool off_the_record_;
340 340
341 // A callback to create a routing id for the associated renderer process. 341 // A callback to create a routing id for the associated renderer process.
342 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_; 342 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_;
343 343
344 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); 344 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter);
345 }; 345 };
346 346
347 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ 347 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/browser_render_process_host.cc ('k') | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698