Lines Matching refs:data_
18 : data_(data), read_only_(false) {} in CefDragDataImpl()
23 : data_(data), in CefDragDataImpl()
38 drag_data = new CefDragDataImpl(data_, image_, image_hotspot_); in Clone()
50 return (data_.url.is_valid() && in IsLink()
51 data_.file_contents_content_disposition.empty()); in IsLink()
56 return (!data_.url.is_valid() && in IsFragment()
57 data_.file_contents_content_disposition.empty() && in IsFragment()
58 data_.filenames.empty()); in IsFragment()
63 return (!data_.file_contents_content_disposition.empty() || in IsFile()
64 !data_.filenames.empty()); in IsFile()
69 return data_.url.spec(); in GetLinkURL()
74 return data_.url_title; in GetLinkTitle()
79 return data_.download_metadata; in GetLinkMetadata()
84 return data_.text ? CefString(*data_.text) : CefString(); in GetFragmentText()
89 return data_.html ? CefString(*data_.html) : CefString(); in GetFragmentHtml()
94 return data_.html_base_url.spec(); in GetFragmentBaseURL()
99 auto filename = data_.GetSafeFilenameForImageFileContents(); in GetFileName()
105 if (data_.file_contents.empty()) in GetFileContents()
108 char* data = const_cast<char*>(data_.file_contents.c_str()); in GetFileContents()
109 size_t size = data_.file_contents.size(); in GetFileContents()
119 if (data_.filenames.empty()) in GetFileNames()
122 std::vector<ui::FileInfo>::const_iterator it = data_.filenames.begin(); in GetFileNames()
123 for (; it != data_.filenames.end(); ++it) { in GetFileNames()
136 data_.url = GURL(url.ToString()); in SetLinkURL()
142 data_.url_title = title.ToString16(); in SetLinkTitle()
148 data_.download_metadata = data.ToString16(); in SetLinkMetadata()
154 data_.text = text.ToString16(); in SetFragmentText()
160 data_.html = fragment.ToString16(); in SetFragmentHtml()
166 data_.html_base_url = GURL(fragment.ToString()); in SetFragmentBaseURL()
172 data_.file_contents.erase(); in ResetFileContents()
173 data_.file_contents_source_url = GURL(); in ResetFileContents()
174 data_.file_contents_filename_extension.erase(); in ResetFileContents()
175 data_.file_contents_content_disposition.erase(); in ResetFileContents()
182 data_.filenames.push_back( in AddFile()