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

Unified Diff: chrome/browser/renderer_host/resource_message_filter.h

Issue 100238: Linux: terminate clipboard handling on the UI thread. (Closed)
Patch Set: ... Created 11 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/resource_message_filter.h
diff --git a/chrome/browser/renderer_host/resource_message_filter.h b/chrome/browser/renderer_host/resource_message_filter.h
index 1ce2b9579ebffaf3b1027999805ad4c79e08c01a..74181bf3c8755206d1169b35ba5546ff11dd13e0 100644
--- a/chrome/browser/renderer_host/resource_message_filter.h
+++ b/chrome/browser/renderer_host/resource_message_filter.h
@@ -151,10 +151,13 @@ class ResourceMessageFilter : public IPC::ChannelProxy::MessageFilter,
void OnReceiveContextMenuMsg(const IPC::Message& msg);
// Clipboard messages
void OnClipboardWriteObjects(const Clipboard::ObjectMap& objects);
- void OnClipboardIsFormatAvailable(Clipboard::FormatType format, bool* result);
- void OnClipboardReadText(string16* result);
- void OnClipboardReadAsciiText(std::string* result);
- void OnClipboardReadHTML(string16* markup, GURL* src_url);
+
+ void OnClipboardIsFormatAvailable(Clipboard::FormatType format,
+ IPC::Message* reply);
+ void OnClipboardReadText(IPC::Message* reply);
+ void OnClipboardReadAsciiText(IPC::Message* reply);
+ void OnClipboardReadHTML(IPC::Message* reply);
+
void OnGetWindowRect(gfx::NativeViewId window, IPC::Message* reply);
void OnGetRootWindowRect(gfx::NativeViewId window, IPC::Message* reply);
void OnGetMimeTypeFromExtension(const FilePath::StringType& ext,
@@ -203,10 +206,15 @@ class ResourceMessageFilter : public IPC::ChannelProxy::MessageFilter,
void OnExtensionPostMessage(int port_id, const std::string& message);
#if defined(OS_LINUX)
- void SendBackgroundX11Reply(IPC::Message* reply_msg);
+ void SendDelayedReply(IPC::Message* reply_msg);
void DoOnGetScreenInfo(gfx::NativeViewId view, IPC::Message* reply_msg);
void DoOnGetWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg);
void DoOnGetRootWindowRect(gfx::NativeViewId view, IPC::Message* reply_msg);
+ void DoOnClipboardIsFormatAvailable(Clipboard::FormatType format,
+ IPC::Message* reply_msg);
+ void DoOnClipboardReadText(IPC::Message* reply_msg);
+ void DoOnClipboardReadAsciiText(IPC::Message* reply_msg);
+ void DoOnClipboardReadHTML(IPC::Message* reply_msg);
#endif
// We have our own clipboard service because we want to access the clipboard
« no previous file with comments | « no previous file | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698