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

Unified Diff: base/scoped_clipboard_writer.h

Issue 42592: Linux: write images to clipboard.... (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 | « base/clipboard_linux.cc ('k') | base/scoped_clipboard_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/scoped_clipboard_writer.h
===================================================================
--- base/scoped_clipboard_writer.h (revision 12396)
+++ base/scoped_clipboard_writer.h (working copy)
@@ -51,13 +51,9 @@
// Used by WebKit to determine whether WebKit wrote the clipboard last
void WriteWebSmartPaste();
-#if defined(OS_WIN)
// Adds a bitmap to the clipboard
- // This is the slowest way to copy a bitmap to the clipboard as we must first
- // memcpy the pixels into GDI and the blit the bitmap to the clipboard.
// Pixel format is assumed to be 32-bit BI_RGB.
void WriteBitmapFromPixels(const void* pixels, const gfx::Size& size);
-#endif // defined(OS_WIN)
protected:
// We accumulate the data passed to the various targets in the |objects_|
« no previous file with comments | « base/clipboard_linux.cc ('k') | base/scoped_clipboard_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698