Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/ui/views/extensions/
Dbrowser_action_overflow_menu_controller.cc222 size_t drop_index = IndexForId(menu->GetCommand()); in OnPerformDrop() local
228 --drop_index; in OnPerformDrop()
237 drop_index = toolbar_model->IncognitoIndexToOriginal(drop_index); in OnPerformDrop()
238 toolbar_model->MoveExtensionIcon(extension, drop_index); in OnPerformDrop()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_strip.h286 DropInfo(int drop_index,
296 int drop_index; member
488 gfx::Rect GetDropBounds(int drop_index, bool drop_before, bool* is_beneath);
Dtab_strip.cc1404 const int drop_index = drop_info_->drop_index; in OnPerformDrop() local
1421 controller()->PerformDrop(drop_before, drop_index, url); in OnPerformDrop()
2177 gfx::Rect TabStrip::GetDropBounds(int drop_index, in GetDropBounds() argument
2180 DCHECK_NE(drop_index, -1); in GetDropBounds()
2182 if (drop_index < tab_count()) { in GetDropBounds()
2183 Tab* tab = tab_at(drop_index); in GetDropBounds()
2189 Tab* last_tab = tab_at(drop_index - 1); in GetDropBounds()
2248 if (drop_info_.get() && drop_info_->drop_index == tab_data_index && in SetDropIndex()
2261 drop_info_->drop_index = tab_data_index; in SetDropIndex()
2293 TabStrip::DropInfo::DropInfo(int drop_index, in DropInfo() argument
[all …]
/external/chromium_org/chrome/browser/extensions/api/bookmark_manager_private/
Dbookmark_manager_private_api.cc573 int drop_index; in RunOnReady() local
575 drop_index = *params->index; in RunOnReady()
577 drop_index = drop_parent->child_count(); in RunOnReady()
599 GetProfile(), *drag_data, drop_parent, drop_index, copy); in RunOnReady()
/external/chromium_org/ash/shelf/
Dshelf_view_unittest.cc560 int drop_index = 1; in TestDraggingAnItemFromOverflowToShelf() local
562 test_api_->GetButton(drop_index)->GetBoundsInScreen().CenterPoint(); in TestDraggingAnItemFromOverflowToShelf()
596 EXPECT_EQ(drag_item_id, GetItemId(drop_index)); in TestDraggingAnItemFromOverflowToShelf()