| Index: ui/base/test/test_clipboard.cc
|
| diff --git a/ui/base/test/test_clipboard.cc b/ui/base/test/test_clipboard.cc
|
| index e90296145c667d416b8b0d2815204732ff94c955..530037d2ff75fceb192199680ee975a70012b219 100644
|
| --- a/ui/base/test/test_clipboard.cc
|
| +++ b/ui/base/test/test_clipboard.cc
|
| @@ -42,6 +42,18 @@ void TestClipboard::Clear(ClipboardType type) {
|
| void TestClipboard::ReadAvailableTypes(ClipboardType type,
|
| std::vector<base::string16>* types,
|
| bool* contains_filenames) const {
|
| + types->clear();
|
| +
|
| + if (IsFormatAvailable(Clipboard::GetPlainTextFormatType(), type))
|
| + types->push_back(base::UTF8ToUTF16(kMimeTypeText));
|
| + if (IsFormatAvailable(Clipboard::GetHtmlFormatType(), type))
|
| + types->push_back(base::UTF8ToUTF16(kMimeTypeHTML));
|
| +
|
| + if (IsFormatAvailable(Clipboard::GetRtfFormatType(), type))
|
| + types->push_back(base::UTF8ToUTF16(kMimeTypeRTF));
|
| + if (IsFormatAvailable(Clipboard::GetBitmapFormatType(), type))
|
| + types->push_back(base::UTF8ToUTF16(kMimeTypePNG));
|
| +
|
| *contains_filenames = false;
|
| }
|
|
|
|
|