summaryrefslogtreecommitdiffstats
path: root/base/scoped_clipboard_writer.h
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-17 14:45:48 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-17 14:45:48 +0000
commitc3fac8bf704df395a6359e9da9edeca28ff34de0 (patch)
tree165cec5b2e3e50c2666d8205bbc661d17242cd21 /base/scoped_clipboard_writer.h
parent0c4bfbd9655bc99c0fd92f6476c3c2915cca0004 (diff)
downloadchromium_src-c3fac8bf704df395a6359e9da9edeca28ff34de0.zip
chromium_src-c3fac8bf704df395a6359e9da9edeca28ff34de0.tar.gz
chromium_src-c3fac8bf704df395a6359e9da9edeca28ff34de0.tar.bz2
Implement the WebSmartPaste pasteboard type on Mac, stub it out on Linux, remove the platform ifdefs in common code.
Review URL: http://codereview.chromium.org/10955 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5559 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/scoped_clipboard_writer.h')
-rw-r--r--base/scoped_clipboard_writer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/scoped_clipboard_writer.h b/base/scoped_clipboard_writer.h
index 08a36fd..932c334 100644
--- a/base/scoped_clipboard_writer.h
+++ b/base/scoped_clipboard_writer.h
@@ -40,10 +40,10 @@ class ScopedClipboardWriter {
void WriteFile(const std::wstring& file);
void WriteFiles(const std::vector<std::wstring>& files);
-#if defined(OS_WIN)
// 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.