/external/chromium/webkit/glue/ |
webdropdata_win.cc | 16 WebDropData* drop_data) { 18 if (ui::ClipboardUtil::GetUrl(data_object, &url_str, &drop_data->url_title, 22 drop_data->url = test_url; 24 ui::ClipboardUtil::GetFilenames(data_object, &drop_data->filenames); 25 ui::ClipboardUtil::GetPlainText(data_object, &drop_data->plain_text); 27 ui::ClipboardUtil::GetHtml(data_object, &drop_data->text_html, &base_url); 29 drop_data->html_base_url = GURL(base_url); 32 &drop_data->file_description_filename, &drop_data->file_contents);
|
webdropdata.h | 65 WebDropData* drop_data);
|
/external/chromium/chrome/browser/ui/views/tab_contents/ |
tab_contents_drag_win.cc | 112 void TabContentsDragWin::StartDragging(const WebDropData& drop_data, 125 if (drop_data.download_metadata.empty()) { 126 DoDragging(drop_data, ops, page_url, page_encoding, image, image_offset); 145 drop_data, 169 const WebDropData& drop_data, 177 DoDragging(drop_data, ops, page_url, page_encoding, image, image_offset); 184 const WebDropData& drop_data, 192 if (!drag_download_util::ParseDownloadMetadata(drop_data.download_metadata, 227 const WebDropData& drop_data, ui::OSExchangeData* data) { 230 FilePath file_name(drop_data.file_description_filename) [all...] |
tab_contents_drag_win.h | 35 void StartDragging(const WebDropData& drop_data, 48 void PrepareDragForDownload(const WebDropData& drop_data, 52 void PrepareDragForFileContents(const WebDropData& drop_data, 54 void PrepareDragForUrl(const WebDropData& drop_data, 56 void DoDragging(const WebDropData& drop_data, 64 void StartBackgroundDragging(const WebDropData& drop_data,
|
native_tab_contents_view.h | 45 virtual void StartDragging(const WebDropData& drop_data,
|
native_tab_contents_view_win.h | 37 virtual void StartDragging(const WebDropData& drop_data,
|
/external/chromium_org/content/browser/web_contents/ |
web_contents_drag_win.cc | 29 #include "content/public/common/drop_data.h" 158 void WebContentsDragWin::StartDragging(const DropData& drop_data, 170 if (drop_data.download_metadata.empty()) { 171 if (DoDragging(drop_data, ops, page_url, page_encoding, 186 drop_data, ops, page_url, page_encoding, 194 const DropData& drop_data, 202 if (DoDragging(drop_data, ops, page_url, page_encoding, 225 const DropData& drop_data, 233 if (!ParseDownloadMetadata(drop_data.download_metadata, 268 Referrer(page_url, drop_data.referrer_policy) [all...] |
web_contents_drag_win.h | 48 void StartDragging(const DropData& drop_data, 64 void PrepareDragForDownload(const DropData& drop_data, 68 void PrepareDragForFileContents(const DropData& drop_data, 70 void PrepareDragForUrl(const DropData& drop_data, 76 bool DoDragging(const DropData& drop_data, 84 void StartBackgroundDragging(const DropData& drop_data,
|
web_drag_dest_win.cc | 16 #include "content/public/common/drop_data.h" 65 void PopulateDropData(IDataObject* data_object, DropData* drop_data) { 68 data_object, &url_str, &drop_data->url_title, false)) { 71 drop_data->url = test_url; 76 drop_data->filenames.push_back( 81 drop_data->text = base::NullableString16(text, false); 87 drop_data->html = base::NullableString16(html, false); 90 drop_data->html_base_url = GURL(html_base_url); 92 ui::ClipboardUtil::GetWebCustomData(data_object, &drop_data->custom_data); 159 scoped_ptr<DropData> drop_data; local [all...] |
web_drag_source_gtk.cc | 21 #include "content/public/common/drop_data.h" 71 bool WebDragSourceGtk::StartDragging(const DropData& drop_data, 84 if (!drop_data.text.string().empty()) 86 if (drop_data.url.is_valid()) { 91 if (!drop_data.html.string().empty()) 93 if (!drop_data.file_contents.empty()) 95 if (!drop_data.download_metadata.empty() && 96 ParseDownloadMetadata(drop_data.download_metadata, 102 if (!drop_data.custom_data.empty()) 108 drop_data_.reset(new DropData(drop_data)); [all...] |
web_contents_view_aura.cc | 41 #include "content/public/common/drop_data.h" 250 void PrepareDragForFileContents(const DropData& drop_data, 252 base::FilePath file_name(drop_data.file_description_filename); 259 drop_data.url, "", "", "", "", "")).ReplaceExtension(extension); 261 provider->SetFileContents(file_name, drop_data.file_contents); 265 const DropData& drop_data, 275 if (!ParseDownloadMetadata(drop_data.download_metadata, 315 Referrer(page_url, drop_data.referrer_policy), 325 void PrepareDragData(const DropData& drop_data, 331 if (!drop_data.download_metadata.empty() [all...] |
web_drag_source_gtk.h | 41 bool StartDragging(const DropData& drop_data,
|
/external/chromium_org/chrome/browser/ui/views/tab_contents/ |
web_drag_bookmark_handler_win.cc | 14 #include "content/public/common/drop_data.h" 95 bool WebDragBookmarkHandlerWin::AddDragData(const content::DropData& drop_data, 97 if (!drop_data.url.SchemeIs(content::kJavaScriptScheme)) 106 bm_elt.url = drop_data.url; 107 bm_elt.title = drop_data.url_title;
|
web_drag_bookmark_handler_win.h | 31 virtual bool AddDragData(const content::DropData& drop_data,
|
/external/chromium_org/content/browser/renderer_host/ |
render_view_host_unittest.cc | 13 #include "content/public/common/drop_data.h" 127 virtual void StartDragging(const DropData& drop_data, 132 drag_url_ = drop_data.url; 133 html_base_url_ = drop_data.html_base_url; 158 DropData drop_data; local 160 drop_data.url = file_url; 161 drop_data.html_base_url = file_url; 162 test_rvh()->TestOnStartDragging(drop_data); 167 drop_data.url = http_url; 168 drop_data.html_base_url = http_url [all...] |
/external/chromium/chrome/browser/ui/views/extensions/ |
browser_action_overflow_menu_controller.cc | 135 BrowserActionDragData drop_data; local 136 if (!drop_data.Read(data)) 138 return drop_data.IsFromProfile(owner_->profile()); 150 BrowserActionDragData drop_data; local 151 if (!drop_data.Read(event.data())) 154 if (drop_data.index() < owner_->VisibleBrowserActions()) 165 BrowserActionDragData drop_data; local 166 if (!drop_data.Read(event.data())) 175 drop_data.index() < owner_->VisibleBrowserActions()) 178 owner_->MoveBrowserAction(drop_data.id(), drop_index) [all...] |
/external/chromium_org/chrome/browser/ui/views/extensions/ |
browser_action_overflow_menu_controller.cc | 151 BrowserActionDragData drop_data; local 152 if (!drop_data.Read(data)) 154 return drop_data.IsFromProfile(owner_->profile()); 166 BrowserActionDragData drop_data; local 167 if (!drop_data.Read(event.data())) 170 if (drop_data.index() < owner_->VisibleBrowserActions()) 181 BrowserActionDragData drop_data; local 182 if (!drop_data.Read(event.data())) 191 drop_data.index() < owner_->VisibleBrowserActions()) 194 owner_->MoveBrowserAction(drop_data.id(), drop_index) [all...] |
/external/chromium_org/chrome/browser/ui/webui/extensions/ |
install_extension_handler.cc | 20 #include "content/public/common/drop_data.h" 64 content::DropData* drop_data = local 66 if (!drop_data) { 71 if (drop_data->filenames.empty()) { 76 const content::DropData::FileInfo& file_info = drop_data->filenames.front();
|
/external/chromium_org/content/port/browser/ |
render_view_host_delegate_view.h | 53 virtual void StartDragging(const DropData& drop_data,
|
/external/chromium/chrome/browser/ui/gtk/ |
tab_contents_drag_source.cc | 69 void TabContentsDragSource::StartDragging(const WebDropData& drop_data, 83 if (!drop_data.plain_text.empty()) 85 if (drop_data.url.is_valid()) { 90 if (!drop_data.text_html.empty()) 92 if (!drop_data.file_contents.empty()) 94 if (!drop_data.download_metadata.empty() && 95 drag_download_util::ParseDownloadMetadata(drop_data.download_metadata, 105 drop_data_.reset(new WebDropData(drop_data)); 116 mime_util::GetDataMimeType(drop_data.file_contents).c_str(), FALSE);
|
tab_contents_drag_source.h | 38 void StartDragging(const WebDropData& drop_data,
|
/external/chromium_org/content/public/browser/ |
web_drag_dest_delegate.h | 66 virtual bool AddDragData(const DropData& drop_data,
|
/external/chromium/chrome/browser/tab_contents/ |
web_drop_target_win.cc | 109 WebDropData drop_data; 110 WebDropData::PopulateWebDropData(data_object, &drop_data); 112 if (drop_data.url.is_empty()) 113 ui::OSExchangeDataProviderWin::GetPlainTextURL(data_object, &drop_data.url); 119 tab_contents_->render_view_host()->DragTargetDragEnter(drop_data,
|
tab_contents_view_gtk.h | 73 virtual void StartDragging(const WebDropData& drop_data,
|
tab_contents_view_mac.h | 89 virtual void StartDragging(const WebDropData& drop_data,
|