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

Unified Diff: ui/base/clipboard/clipboard.h

Issue 8801015: Revert 112986 - Implement Clipboard::ReadData and Clipboard::WriteData for Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | ui/base/clipboard/clipboard.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/clipboard/clipboard.h
===================================================================
--- ui/base/clipboard/clipboard.h (revision 112992)
+++ ui/base/clipboard/clipboard.h (working copy)
@@ -172,7 +172,7 @@
// as a byte vector.
// TODO(dcheng): Due to platform limitations on Windows, we should make sure
// format is never controlled by the user.
- void ReadData(const std::string& format, std::string* result) const;
+ void ReadData(const std::string& format, std::string* result);
// Get format Identifiers for various types.
static FormatType GetUrlFormatType();
@@ -225,10 +225,12 @@
void WriteBitmap(const char* pixel_data, const char* size_data);
+#if !defined(OS_MACOSX)
// |format_name| is an ASCII string and should be NULL-terminated.
// TODO(estade): port to mac.
void WriteData(const char* format_name, size_t format_len,
const char* data_data, size_t data_len);
+#endif
#if defined(OS_WIN)
void WriteBitmapFromHandle(HBITMAP source_hbitmap,
const gfx::Size& size);
« no previous file with comments | « no previous file | ui/base/clipboard/clipboard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698