Home | History | Annotate | Download | only in host

Lines Matching refs:clipboard

5 #include "remoting/host/clipboard.h"
25 // A scoper class that opens and closes the clipboard.
27 // ui/base/clipboard/clipboard_win.cc.
80 // copy the clipboard data, and unlock the handle. All this must be done
101 class ClipboardWin : public Clipboard {
164 LOG(ERROR) << "Couldn't create clipboard window.";
200 ScopedClipboard clipboard;
201 if (!clipboard.Init(window_->hwnd())) {
202 LOG(WARNING) << "Couldn't open the clipboard.";
206 clipboard.Empty();
221 clipboard.SetData(CF_UNICODETEXT, text_global);
229 // Add a scope, so that we keep the clipboard open for as short a time as
232 ScopedClipboard clipboard;
233 if (!clipboard.Init(window_->hwnd())) {
234 LOG(WARNING) << "Couldn't open the clipboard." << GetLastError();
238 HGLOBAL text_global = clipboard.GetData(CF_UNICODETEXT);
240 LOG(WARNING) << "Couldn't get data from the clipboard: "
247 LOG(WARNING) << "Couldn't lock clipboard data: " << GetLastError();
274 scoped_ptr<Clipboard> Clipboard::Create() {
275 return scoped_ptr<Clipboard>(new ClipboardWin());