Home
last modified time | relevance | path

Searched refs:drop_data_ (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/tab_contents/
Dweb_drag_dest_gtk.cc97 drop_data_.reset(new WebDropData); in OnDragMotion()
157 drop_data_->plain_text = in OnDragDataReceived()
165 drop_data_->url = GURL(); in OnDragDataReceived()
175 drop_data_->filenames.push_back(UTF8ToUTF16(file_path.value())); in OnDragDataReceived()
179 drop_data_->plain_text.clear(); in OnDragDataReceived()
180 } else if (!drop_data_->url.is_valid()) { in OnDragDataReceived()
182 drop_data_->url = url; in OnDragDataReceived()
189 drop_data_->text_html = in OnDragDataReceived()
198 drop_data_->url = GURL(netscape_url.substr(0, split)); in OnDragDataReceived()
200 drop_data_->url_title = UTF8ToUTF16(netscape_url.substr(split + 1)); in OnDragDataReceived()
[all …]
Dweb_drag_dest_gtk.h66 scoped_ptr<WebDropData> drop_data_; variable
/external/chromium/chrome/browser/ui/gtk/
Dtab_contents_drag_source.cc54 if (drop_data_.get()) { in ~TabContentsDragSource()
58 drop_data_.reset(); in ~TabContentsDragSource()
105 drop_data_.reset(new WebDropData(drop_data)); in StartDragging()
141 drop_data_.reset(); in StartDragging()
175 std::string utf8_text = UTF16ToUTF8(drop_data_->plain_text); in OnDragDataGet()
184 std::string utf8_text = UTF16ToUTF8(drop_data_->text_html); in OnDragDataGet()
196 ui::WriteURLWithName(selection_data, drop_data_->url, in OnDragDataGet()
197 drop_data_->url_title, target_type); in OnDragDataGet()
205 reinterpret_cast<const guchar*>(drop_data_->file_contents.data()), in OnDragDataGet()
206 drop_data_->file_contents.length()); in OnDragDataGet()
[all …]
Dtab_contents_drag_source.h67 scoped_ptr<WebDropData> drop_data_; variable
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_menu_controller_views.cc139 if (!drop_data_.Read(data) || drop_data_.elements.size() != 1 || in CanDrop()
143 if (drop_data_.has_single_url()) in CanDrop()
146 const BookmarkNode* drag_node = drop_data_.GetFirstNode(profile_); in CanDrop()
166 DCHECK(drop_data_.is_valid()); in GetDropOperation()
179 profile_, event, drop_data_, drop_parent, index_to_drop_at); in GetDropOperation()
201 profile_, drop_data_, drop_parent, index_to_drop_at); in OnPerformDrop()
Dbookmark_menu_controller_views.h181 BookmarkNodeData drop_data_; variable
/external/chromium/chrome/browser/ui/cocoa/tab_contents/
Dweb_drag_source.mm92 WebDropData drop_data_;
102 drop_data_(drop_data) {
115 file_stream_->Write(drop_data_.file_contents.data(),
116 drop_data_.file_contents.length(),