Searched defs:drop_data (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/chrome/browser/ui/webui/extensions/
H A Dinstall_extension_handler.cc20 #include "content/public/common/drop_data.h"
65 content::DropData* drop_data = local
67 if (!drop_data) {
72 if (drop_data->filenames.empty()) {
77 const ui::FileInfo& file_info = drop_data->filenames.front();
/external/chromium_org/chrome/browser/ui/views/extensions/
H A Dbrowser_action_drag_data.cc41 BrowserActionDragData drop_data; local
42 return drop_data.Read(data) && drop_data.IsFromProfile(profile);
H A Dbrowser_action_overflow_menu_controller.cc203 BrowserActionDragData drop_data; local
204 if (!drop_data.Read(event.data()))
207 if (drop_data.index() < owner_->VisibleBrowserActions())
218 BrowserActionDragData drop_data; local
219 if (!drop_data.Read(event.data()))
227 drop_data.index() < owner_->VisibleBrowserActions())
233 enabled_extensions().GetByID(drop_data.id());
242 if (drop_data.index() < owner_->VisibleBrowserActions())
/external/chromium_org/content/browser/renderer_host/
H A Drender_view_host_delegate_view.h50 virtual void StartDragging(const DropData& drop_data, argument
H A Drender_view_host_unittest.cc17 #include "content/public/common/drop_data.h"
123 virtual void StartDragging(const DropData& drop_data,
128 drag_url_ = drop_data.url;
129 html_base_url_ = drop_data.html_base_url;
154 DropData drop_data; local
156 drop_data.url = file_url;
157 drop_data.html_base_url = file_url;
158 test_rvh()->TestOnStartDragging(drop_data);
163 drop_data.url = http_url;
164 drop_data
[all...]
H A Drender_view_host_impl.cc69 #include "content/public/common/drop_data.h"
610 const DropData& drop_data,
621 DropData filtered_data(drop_data);
623 if (drop_data.did_originate_from_renderer) {
1167 const DropData& drop_data,
1176 DropData filtered_data(drop_data);
1195 drop_data.filenames.begin();
1196 it != drop_data.filenames.end();
1207 for (size_t i = 0; i < drop_data.file_system_files.size(); ++i) {
1209 file_system_context->CrackURL(drop_data
609 DragTargetDragEnter( const DropData& drop_data, const gfx::Point& client_pt, const gfx::Point& screen_pt, WebDragOperationsMask operations_allowed, int key_modifiers) argument
1166 OnStartDragging( const DropData& drop_data, WebDragOperationsMask drag_operations_mask, const SkBitmap& bitmap, const gfx::Vector2d& bitmap_offset_in_dip, const DragEventSourceInfo& event_info) argument
[all...]
/external/chromium_org/chrome/browser/ui/views/toolbar/
H A Dbrowser_actions_container_browsertest.cc161 ui::OSExchangeData drop_data; local
164 browser_action_drag_data.Write(profile(), &drop_data); local
169 drop_data, location, location, ui::DragDropTypes::DRAG_MOVE);
634 ui::OSExchangeData drop_data; local
636 browser_action_drag_data.Write(profile(), &drop_data); local
640 drop_data, location, location, ui::DragDropTypes::DRAG_MOVE);
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_view_android.cc189 const DropData& drop_data,
188 StartDragging( const DropData& drop_data, blink::WebDragOperationsMask allowed_ops, const gfx::ImageSkia& image, const gfx::Vector2d& image_offset, const DragEventSourceInfo& event_info) argument
H A Dweb_contents_view_guest.cc19 #include "content/public/common/drop_data.h"
233 const DropData& drop_data,
248 view->StartDragging(drop_data, ops, image, image_offset, event_info);
232 StartDragging( const DropData& drop_data, WebDragOperationsMask ops, const gfx::ImageSkia& image, const gfx::Vector2d& image_offset, const DragEventSourceInfo& event_info) argument
H A Dweb_contents_view_aura.cc45 #include "content/public/common/drop_data.h"
222 void PrepareDragForFileContents(const DropData& drop_data, argument
225 base::FilePath::FromUTF16Unsafe(drop_data.file_description_filename);
231 file_name = net::GenerateFileName(drop_data.url, "", "", "", "", "")
234 provider->SetFileContents(file_name, drop_data.file_contents);
240 const DropData& drop_data,
250 if (!ParseDownloadMetadata(drop_data.download_metadata,
290 Referrer(page_url, drop_data.referrer_policy),
348 void PrepareDragData(const DropData& drop_data, argument
355 if (!drop_data
239 PrepareDragForDownload( const DropData& drop_data, ui::OSExchangeData::Provider* provider, WebContentsImpl* web_contents) argument
391 PrepareDropData(DropData* drop_data, const ui::OSExchangeData& data) argument
1200 StartDragging( const DropData& drop_data, blink::WebDragOperationsMask operations, const gfx::ImageSkia& image, const gfx::Vector2d& image_offset, const DragEventSourceInfo& event_info) argument
[all...]
/external/chromium_org/content/browser/browser_plugin/
H A Dbrowser_plugin_guest.cc37 #include "content/public/common/drop_data.h"
562 const DropData& drop_data,
570 host->DragTargetDragEnter(drop_data, location, location, mask, 0);
560 OnDragStatusUpdate(int browser_plugin_instance_id, blink::WebDragStatus drag_status, const DropData& drop_data, blink::WebDragOperationsMask mask, const gfx::Point& location) argument
/external/chromium_org/content/browser/frame_host/
H A Dinterstitial_page_impl.cc91 virtual void StartDragging(const DropData& drop_data,
884 const DropData& drop_data,
883 StartDragging( const DropData& drop_data, WebDragOperationsMask allowed_operations, const gfx::ImageSkia& image, const gfx::Vector2d& image_offset, const DragEventSourceInfo& event_info) argument
/external/chromium_org/content/test/
H A Dtest_render_view_host.cc345 const DropData& drop_data) {
348 OnStartDragging(drop_data, drag_operation, SkBitmap(), gfx::Vector2d(),
344 TestOnStartDragging( const DropData& drop_data) argument
/external/chromium_org/content/renderer/
H A Drender_view_impl.cc58 #include "content/public/common/drop_data.h"
496 WebDragData DropDataToWebDragData(const DropData& drop_data) { argument
500 DCHECK(drop_data.download_metadata.empty());
501 DCHECK(drop_data.file_contents.empty());
502 DCHECK(drop_data.file_description_filename.empty());
504 if (!drop_data.text.is_null()) {
508 item.stringData = drop_data.text.string();
514 if (!drop_data.url.is_empty()) {
518 item.stringData = WebString::fromUTF8(drop_data.url.spec());
519 item.title = drop_data
2950 OnDragTargetDragEnter(const DropData& drop_data, const gfx::Point& client_point, const gfx::Point& screen_point, WebDragOperationsMask ops, int key_modifiers) argument
[all...]

Completed in 264 milliseconds