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

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

Issue 41012: This changes the base clipboard class. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | « chrome/browser/renderer_host/resource_message_filter.h ('k') | chrome/common/render_messages_internal.h » ('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.cc
===================================================================
--- chrome/browser/renderer_host/resource_message_filter.cc (revision 11372)
+++ chrome/browser/renderer_host/resource_message_filter.cc (working copy)
@@ -540,15 +540,10 @@
new WriteClipboardTask(long_living_objects));
}
-void ResourceMessageFilter::OnClipboardIsFormatAvailable(unsigned int format,
- bool* result) {
-#if defined(OS_WIN)
+void ResourceMessageFilter::OnClipboardIsFormatAvailable(
+ Clipboard::FormatType format, bool* result) {
DCHECK(result);
*result = GetClipboardService()->IsFormatAvailable(format);
-#else
- NOTIMPLEMENTED(); // TODO(port) this function should take a
- // Clipboard::FormatType instead of an int.
-#endif
}
void ResourceMessageFilter::OnClipboardReadText(string16* result) {
« no previous file with comments | « chrome/browser/renderer_host/resource_message_filter.h ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698