Lines Matching refs:data_object
65 void PopulateDropData(IDataObject* data_object, DropData* drop_data) {
68 data_object, &url_str, &drop_data->url_title, false)) {
74 ui::ClipboardUtil::GetFilenames(data_object, &filenames);
79 ui::ClipboardUtil::GetPlainText(data_object, &text);
85 ui::ClipboardUtil::GetHtml(data_object, &html, &html_base_url);
92 ui::ClipboardUtil::GetWebCustomData(data_object, &drop_data->custom_data);
106 DWORD OnDragEnter(IDataObject* data_object, DWORD effect) {
107 return ui::ClipboardUtil::HasUrl(data_object) ?
111 DWORD OnDragOver(IDataObject* data_object, DWORD effect) {
112 return ui::ClipboardUtil::HasUrl(data_object) ?
116 void OnDragLeave(IDataObject* data_object) {
119 DWORD OnDrop(IDataObject* data_object, DWORD effect) {
120 if (!ui::ClipboardUtil::HasUrl(data_object))
125 ui::ClipboardUtil::GetUrl(data_object, &url, &title, true);
151 DWORD WebDragDest::OnDragEnter(IDataObject* data_object,
161 PopulateDropData(data_object, drop_data.get());
164 ui::OSExchangeDataProviderWin::GetPlainTextURL(data_object,
182 return interstitial_drop_target_->OnDragEnter(data_object, effects);
196 delegate_->OnDragEnter(data_object);
203 DWORD WebDragDest::OnDragOver(IDataObject* data_object,
209 OnDragEnter(data_object, key_state, cursor_position, effects);
215 return interstitial_drop_target_->OnDragOver(data_object, effects);
226 delegate_->OnDragOver(data_object);
231 void WebDragDest::OnDragLeave(IDataObject* data_object) {
240 interstitial_drop_target_->OnDragLeave(data_object);
246 delegate_->OnDragLeave(data_object);
251 DWORD WebDragDest::OnDrop(IDataObject* data_object,
257 OnDragEnter(data_object, key_state, cursor_position, effect);
260 interstitial_drop_target_->OnDragOver(data_object, effect);
263 return interstitial_drop_target_->OnDrop(data_object, effect);
273 delegate_->OnDrop(data_object);