Update to Chromium revision 108684.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@360 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-11-04 23:12:18 +00:00
parent 73699e71cd
commit 53a2f21ba4
6 changed files with 12 additions and 99 deletions

View File

@ -35,16 +35,20 @@ ui::Clipboard* ClipboardGetClipboard() {
return clipboard.Pointer();
}
uint64 ClipboardGetSequenceNumber() {
return ClipboardGetClipboard()->GetSequenceNumber();
}
bool ClipboardIsFormatAvailable(const ui::Clipboard::FormatType& format,
ui::Clipboard::Buffer buffer) {
return ClipboardGetClipboard()->IsFormatAvailable(format, buffer);
}
// TODO(dcheng): Implement.
void ClipboardReadAvailableTypes(ui::Clipboard::Buffer buffer,
std::vector<string16>* types,
bool* contains_filenames) {
return;
return ClipboardGetClipboard()->ReadAvailableTypes(buffer, types,
contains_filenames);
}
void ClipboardReadText(ui::Clipboard::Buffer buffer, string16* result) {
@ -86,18 +90,4 @@ void ClipboardReadImage(ui::Clipboard::Buffer buffer, std::string* data) {
}
}
bool ClipboardReadData(ui::Clipboard::Buffer buffer, const string16& type,
string16* data, string16* metadata) {
return false;
}
bool ClipboardReadFilenames(ui::Clipboard::Buffer buffer,
std::vector<string16>* filenames) {
return false;
}
uint64 ClipboardGetSequenceNumber() {
return 0;
}
} // namespace webkit_glue