/external/chromium/chrome/browser/ui/views/extensions/ |
browser_action_drag_data_unittest.cc | 32 BrowserActionDragData drag_data; local 33 EXPECT_FALSE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); 51 BrowserActionDragData drag_data; local 52 EXPECT_TRUE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); 53 ASSERT_TRUE(drag_data.IsFromProfile(profile.GetOriginalProfile())); 54 ASSERT_STREQ(extension_id.c_str(), drag_data.id().c_str()); 55 ASSERT_EQ(42, drag_data.index());
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
browser_action_drag_data_unittest.cc | 32 BrowserActionDragData drag_data; local 33 EXPECT_FALSE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); 51 BrowserActionDragData drag_data; local 52 EXPECT_TRUE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); 53 ASSERT_TRUE(drag_data.IsFromProfile(profile.GetOriginalProfile())); 54 ASSERT_STREQ(extension_id.c_str(), drag_data.id().c_str()); 55 ASSERT_EQ(42, drag_data.index());
|
/external/chromium_org/chrome/browser/ui/gtk/download/ |
download_item_drag.cc | 31 // Sets up a drag source and connects |drag_data| to 'drag-data-get' on 33 // object pointed to by |drag_data| will be deleted when the signal is 35 static void AttachToWidget(scoped_ptr<DragData> drag_data, 59 void DownloadItemDrag::DragData::AttachToWidget(scoped_ptr<DragData> drag_data, 80 reinterpret_cast<gpointer>(drag_data.release()), 98 DragData* drag_data = reinterpret_cast<DragData*>(data); local 99 delete drag_data; 108 scoped_ptr<DragData> drag_data(new DragData(item)); 109 DragData::AttachToWidget(drag_data.Pass(), widget, icon);
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_node_data_unittest.cc | 48 BookmarkNodeData drag_data; local 49 EXPECT_FALSE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); 50 EXPECT_FALSE(drag_data.is_valid()); 62 BookmarkNodeData drag_data; local 63 EXPECT_TRUE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); 64 EXPECT_TRUE(drag_data.is_valid()); 65 ASSERT_EQ(1, drag_data.elements.size()); 66 EXPECT_TRUE(drag_data.elements[0].is_url); 67 EXPECT_EQ(url, drag_data.elements[0].url); 68 EXPECT_EQ(title, drag_data.elements[0].title) [all...] |
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_node_data_unittest.cc | 65 BookmarkNodeData drag_data; local 66 EXPECT_FALSE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); 67 EXPECT_FALSE(drag_data.is_valid()); 79 BookmarkNodeData drag_data; local 80 EXPECT_TRUE(drag_data.Read(ui::OSExchangeData(CloneProvider(data)))); 81 EXPECT_TRUE(drag_data.is_valid()); 82 ASSERT_EQ(1u, drag_data.elements.size()); 83 EXPECT_TRUE(drag_data.elements[0].is_url); 84 EXPECT_EQ(url, drag_data.elements[0].url); 85 EXPECT_EQ(title, drag_data.elements[0].title) [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_bookmark_manager_api.cc | 417 const BookmarkNodeData* drag_data = router->GetBookmarkNodeData(); local 418 if (drag_data == NULL) { 423 *drag_data, local
|
/external/chromium_org/chrome/browser/extensions/api/bookmark_manager_private/ |
bookmark_manager_private_api.cc | 471 const BookmarkNodeData* drag_data = router->GetBookmarkNodeData(); local 472 if (drag_data == NULL) { 476 chrome::DropBookmarks(GetProfile(), *drag_data, drop_parent, drop_index); local
|
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
bookmark_utils_gtk.cc | 397 BookmarkNodeData drag_data; local 398 drag_data.ReadFromPickle(&pickle); 399 return drag_data.GetNodes(profile);
|
/external/chromium_org/chrome/browser/ui/gtk/bookmarks/ |
bookmark_utils_gtk.cc | 429 BookmarkNodeData drag_data; local 430 drag_data.ReadFromPickle(&pickle); 431 return drag_data.GetNodes(profile);
|
bookmark_bar_gtk.cc | 1346 BookmarkNodeData drag_data; local [all...] |
/external/chromium_org/chrome/browser/ui/gtk/tabs/ |
dragged_tab_controller_gtk.cc | 68 std::vector<DraggedTabData> drag_data; local 70 drag_data.push_back(InitDraggedTabData(tabs[i])); 74 drag_data_.reset(new DragData(drag_data, source_tab_index)); [all...] |