Home
last modified time | relevance | path

Searched refs:drop_index (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/ui/views/tabs/
Dtab_strip.cc378 const int drop_index = drop_info_->drop_index; in OnPerformDrop() local
389 controller()->PerformDrop(drop_before, drop_index, url); in OnPerformDrop()
730 gfx::Rect TabStrip::GetDropBounds(int drop_index, in GetDropBounds() argument
733 DCHECK(drop_index != -1); in GetDropBounds()
735 if (drop_index < tab_count()) { in GetDropBounds()
736 Tab* tab = GetTabAtTabDataIndex(drop_index); in GetDropBounds()
742 Tab* last_tab = GetTabAtTabDataIndex(drop_index - 1); in GetDropBounds()
803 if (drop_info_.get() && drop_info_->drop_index == tab_data_index && in SetDropIndex()
815 drop_info_->drop_index = tab_data_index; in SetDropIndex()
847 TabStrip::DropInfo::DropInfo(int drop_index, bool drop_before, bool point_down) in DropInfo() argument
[all …]
Dtab_strip.h127 int drop_index; member
194 gfx::Rect GetDropBounds(int drop_index, bool drop_before, bool* is_beneath);
/external/chromium/chrome/browser/ui/views/extensions/
Dbrowser_action_overflow_menu_controller.cc169 size_t drop_index; in OnPerformDrop() local
170 ViewForId(menu->GetCommand(), &drop_index); in OnPerformDrop()
176 --drop_index; in OnPerformDrop()
178 owner_->MoveBrowserAction(drop_data.id(), drop_index); in OnPerformDrop()
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_bar_view.cc250 drop_index(-1), in DropInfo()
264 int drop_index; member
489 drop_info_->drag_operation != 0 && drop_info_->drop_index != -1 && in PaintChildren()
491 int index = drop_info_->drop_index; in PaintChildren()
569 int drop_index; in OnDragUpdated() local
575 event, drop_info_->data, &drop_index, &drop_on, &is_over_overflow, in OnDragUpdated()
578 if (drop_info_->valid && drop_info_->drop_index == drop_index && in OnDragUpdated()
593 drop_info_->drop_index = drop_index; in OnDragUpdated()
611 node = model_->GetBookmarkBarNode()->GetChild(drop_index); in OnDragUpdated()
626 if (drop_info_->drop_index != -1) { in OnDragExited()
[all …]
/external/chromium/chrome/browser/ui/gtk/tabs/
Dtab_strip_gtk.cc1532 gfx::Rect TabStripGtk::GetDropBounds(int drop_index, in GetDropBounds() argument
1535 DCHECK_NE(drop_index, -1); in GetDropBounds()
1537 if (drop_index < GetTabCount()) { in GetDropBounds()
1538 TabGtk* tab = GetTabAt(drop_index); in GetDropBounds()
1546 TabGtk* last_tab = GetTabAt(drop_index - 1); in GetDropBounds()
1604 } else if (drop_info_->drop_index == index && in SetDropIndex()
1609 drop_info_->drop_index = index; in SetDropIndex()
1627 const int drop_index = drop_info_->drop_index; in CompleteDrop() local
1649 params.tabstrip_index = drop_index; in CompleteDrop()
1655 params.source_contents = model_->GetTabContentsAt(drop_index); in CompleteDrop()
[all …]
Dtab_strip_gtk.h210 int drop_index; variable
359 gfx::Rect GetDropBounds(int drop_index, bool drop_before, bool* is_beneath);
/external/chromium/chrome/browser/extensions/
Dextension_bookmark_manager_api.cc403 int drop_index; in RunImpl() local
405 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(1, &drop_index)); in RunImpl()
407 drop_index = drop_parent->child_count(); in RunImpl()
424 drop_parent, drop_index); in RunImpl()