diff options
author | dsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-16 22:36:55 +0000 |
---|---|---|
committer | dsh@google.com <dsh@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-16 22:36:55 +0000 |
commit | 6ddd29f1f1a3d68d1f5546296bea956e502715c9 (patch) | |
tree | fa9f27fbe7726a26ac6e89da2a4e7cbd00b25328 /base/clipboard_linux.cc | |
parent | c6f79b280b19c2b8c5f42f38f642888053599007 (diff) | |
download | chromium_src-6ddd29f1f1a3d68d1f5546296bea956e502715c9.zip chromium_src-6ddd29f1f1a3d68d1f5546296bea956e502715c9.tar.gz chromium_src-6ddd29f1f1a3d68d1f5546296bea956e502715c9.tar.bz2 |
Prevents LayoutTests/editing/pasteboard/copy-standalone-image.html from crashing
on NOTREACHED. The paste actually already works. The diff is still wrong.
Review URL: http://codereview.chromium.org/14473
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7106 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/clipboard_linux.cc')
-rw-r--r-- | base/clipboard_linux.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/base/clipboard_linux.cc b/base/clipboard_linux.cc index 5906319..08e90fa 100644 --- a/base/clipboard_linux.cc +++ b/base/clipboard_linux.cc @@ -147,6 +147,24 @@ void Clipboard::WriteWebSmartPaste() { InsertMapping(kMimeWebkitSmartPaste, NULL, 0); } +void Clipboard::WriteBitmap(const char* pixel_data, const char* size_data) { + NOTIMPLEMENTED(); +} + +void Clipboard::WriteBookmark(const char* title_data, size_t title_len, + const char* url_data, size_t url_len) { + NOTIMPLEMENTED(); +} + +void Clipboard::WriteHyperlink(const char* title_data, size_t title_len, + const char* url_data, size_t url_len) { + NOTIMPLEMENTED(); +} + +void Clipboard::WriteFiles(const char* file_data, size_t file_len) { + NOTIMPLEMENTED(); +} + // We do not use gtk_clipboard_wait_is_target_available because of // a bug with the gtk clipboard. It caches the available targets // and does not always refresh the cache when it is appropriate. |