Home
last modified time | relevance | path

Searched refs:drag_data (Results 1 – 12 of 12) sorted by relevance

/external/chromium/webkit/glue/
Dwebdropdata.cc18 WebDropData::WebDropData(const WebDragData& drag_data) in WebDropData() argument
19 : url(drag_data.url()), in WebDropData()
20 url_title(drag_data.urlTitle()), in WebDropData()
21 download_metadata(drag_data.downloadMetadata()), in WebDropData()
22 file_extension(drag_data.fileExtension()), in WebDropData()
23 plain_text(drag_data.plainText()), in WebDropData()
24 text_html(drag_data.htmlText()), in WebDropData()
25 html_base_url(drag_data.htmlBaseURL()), in WebDropData()
26 file_description_filename(drag_data.fileContentFilename()) { in WebDropData()
27 if (drag_data.containsFilenames()) { in WebDropData()
[all …]
/external/chromium/chrome/browser/bookmarks/
Dbookmark_node_data_unittest.cc48 BookmarkNodeData drag_data; in TEST_F() local
49 EXPECT_FALSE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); in TEST_F()
50 EXPECT_FALSE(drag_data.is_valid()); in TEST_F()
62 BookmarkNodeData drag_data; in TEST_F() local
63 EXPECT_TRUE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); in TEST_F()
64 EXPECT_TRUE(drag_data.is_valid()); in TEST_F()
65 ASSERT_EQ(1, drag_data.elements.size()); in TEST_F()
66 EXPECT_TRUE(drag_data.elements[0].is_url); in TEST_F()
67 EXPECT_EQ(url, drag_data.elements[0].url); in TEST_F()
68 EXPECT_EQ(title, drag_data.elements[0].title); in TEST_F()
[all …]
Dbookmark_utils.cc335 BookmarkNodeData drag_data(nodes); in DragBookmarks() local
336 drag_data.Write(profile, &data); in DragBookmarks()
/external/chromium/chrome/browser/ui/views/extensions/
Dbrowser_action_drag_data_unittest.cc32 BrowserActionDragData drag_data; in TEST_F() local
33 EXPECT_FALSE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); in TEST_F()
51 BrowserActionDragData drag_data; in TEST_F() local
52 EXPECT_TRUE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); in TEST_F()
53 ASSERT_TRUE(drag_data.IsFromProfile(profile.GetOriginalProfile())); in TEST_F()
54 ASSERT_STREQ(extension_id.c_str(), drag_data.id().c_str()); in TEST_F()
55 ASSERT_EQ(42, drag_data.index()); in TEST_F()
Dbrowser_action_overflow_menu_controller.cc195 BrowserActionDragData drag_data(id, drag_index); in WriteDragData() local
196 drag_data.Write(owner_->profile(), data); in WriteDragData()
/external/chromium/chrome/browser/ui/views/tabs/
Ddragged_tab_controller.cc405 TabDragData* drag_data) { in InitTabDragData() argument
406 drag_data->source_model_index = in InitTabDragData()
408 drag_data->contents = GetModel(source_tabstrip_)->GetTabContentsAt( in InitTabDragData()
409 drag_data->source_model_index); in InitTabDragData()
410 drag_data->pinned = source_tabstrip_->IsTabPinned(tab); in InitTabDragData()
413 Source<TabContents>(drag_data->contents->tab_contents())); in InitTabDragData()
418 drag_data->original_delegate = in InitTabDragData()
419 drag_data->contents->tab_contents()->delegate(); in InitTabDragData()
420 drag_data->contents->tab_contents()->set_delegate(this); in InitTabDragData()
Ddragged_tab_controller.h128 void InitTabDragData(BaseTab* tab, TabDragData* drag_data);
/external/chromium/chrome/browser/extensions/
Dextension_bookmark_manager_api.cc417 const BookmarkNodeData* drag_data = router->GetBookmarkNodeData(); in RunImpl() local
418 if (drag_data == NULL) { in RunImpl()
423 *drag_data, in RunImpl()
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_utils_gtk.cc397 BookmarkNodeData drag_data; in GetNodesFromSelection() local
398 drag_data.ReadFromPickle(&pickle); in GetNodesFromSelection()
399 return drag_data.GetNodes(profile); in GetNodesFromSelection()
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_menu_controller_views.cc242 BookmarkNodeData drag_data(menu_id_to_node_map_[sender->GetCommand()]); in WriteDragData() local
243 drag_data.Write(profile_, data); in WriteDragData()
Dbookmark_bar_view.cc1150 BookmarkNodeData drag_data(node); in WriteBookmarkDragData() local
1151 drag_data.Write(profile_, data); in WriteBookmarkDragData()
/external/chromium/chrome/browser/ui/views/
Dbrowser_actions_container.cc730 BrowserActionDragData drag_data( in WriteDragDataForView() local
732 drag_data.Write(profile_, data); in WriteDragDataForView()