GetIndexOf 153 ash/system/tray/tray_details_view.cc int index = GetIndexOf(scroller_); GetIndexOf 188 chrome/browser/android/bookmarks/bookmarks_bridge.cc bookmark_model_->Remove(parent_node, parent_node->GetIndexOf(node)); GetIndexOf 261 chrome/browser/android/provider/chrome_browser_provider.cc model->Remove(parent_node, parent_node->GetIndexOf(node)); GetIndexOf 353 chrome/browser/bookmarks/bookmark_model.cc int old_index = old_parent->GetIndexOf(node); GetIndexOf 854 chrome/browser/bookmarks/bookmark_model.cc int index = parent->GetIndexOf(node.get()); GetIndexOf 159 chrome/browser/bookmarks/bookmark_utils.cc int index = filtered_nodes[i]->parent()->GetIndexOf(filtered_nodes[i]); GetIndexOf 325 chrome/browser/bookmarks/bookmark_utils.cc *index = real_parent->GetIndexOf(selection[0]) + 1; GetIndexOf 350 chrome/browser/bookmarks/bookmark_utils.cc model->Remove(parent, parent->GetIndexOf(node)); GetIndexOf 374 chrome/browser/bookmarks/bookmark_utils.cc int index = node->parent()->GetIndexOf(node); GetIndexOf 363 chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc int index = parent_node->GetIndexOf(nodes[i]) + 1; GetIndexOf 50 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc bookmark_tree_node->index.reset(new int(parent->GetIndexOf(node))); GetIndexOf 118 chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.cc model->Remove(parent, parent->GetIndexOf(node)); GetIndexOf 63 chrome/browser/history/android/bookmark_model_sql_handler.cc bookmark_model->Remove(parent_node, parent_node->GetIndexOf(*i)); GetIndexOf 354 chrome/browser/sync/glue/bookmark_change_processor.cc DCHECK_EQ(node->parent()->GetIndexOf(node), sync_node.GetPositionIndex()); GetIndexOf 571 chrome/browser/sync/glue/bookmark_change_processor.cc int index = parent->GetIndexOf(dst); GetIndexOf 673 chrome/browser/sync/glue/bookmark_change_processor.cc foster_parent->parent()->GetIndexOf(foster_parent)); GetIndexOf 634 chrome/browser/sync/glue/bookmark_model_associator.cc bookmark_model_->Remove(parent, parent->GetIndexOf(child)); GetIndexOf 658 chrome/browser/sync/glue/bookmark_model_associator.cc bookmark_model_->Remove(it->parent, it->parent->GetIndexOf(it->folder)); GetIndexOf 600 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc int browser_index = bnode->parent()->GetIndexOf(bnode); GetIndexOf 685 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(root->GetIndexOf(model_->bookmark_bar_node()), 0); GetIndexOf 686 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(root->GetIndexOf(model_->other_node()), 1); GetIndexOf 687 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_EQ(root->GetIndexOf(model_->mobile_node()), 2); GetIndexOf 841 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_->Remove(url2->parent(), url2->parent()->GetIndexOf(url2)); GetIndexOf 845 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc folder2->parent()->GetIndexOf(folder2)); GetIndexOf 321 chrome/browser/sync/test/integration/bookmarks_helper.cc if (node_a->parent()->GetIndexOf(node_a) != GetIndexOf 322 chrome/browser/sync/test/integration/bookmarks_helper.cc node_b->parent()->GetIndexOf(node_b)) { GetIndexOf 324 chrome/browser/sync/test/integration/bookmarks_helper.cc << node_a->parent()->GetIndexOf(node_a) << " vs. " GetIndexOf 325 chrome/browser/sync/test/integration/bookmarks_helper.cc << node_b->parent()->GetIndexOf(node_b); GetIndexOf 363 chrome/browser/sync/test/integration/bookmarks_helper.cc path.push(walker->parent()->GetIndexOf(walker)); GetIndexOf 107 chrome/browser/sync/test/integration/single_client_bookmarks_sync_test.cc ASSERT_EQ(1, tier1_a_url0->parent()->GetIndexOf(tier1_a_url0)); GetIndexOf 200 chrome/browser/ui/bookmarks/bookmark_context_menu_controller.cc int index = selection_[i]->parent()->GetIndexOf(selection_[i]); GetIndexOf 33 chrome/browser/ui/bookmarks/bookmark_drag_drop.cc index = parent_node->GetIndexOf(dragged_nodes[i]) + 1; GetIndexOf 111 chrome/browser/ui/bookmarks/recently_used_folders_combo_model_unittest.cc GetModel()->Remove(folder, folder->GetIndexOf(sub_folder)); GetIndexOf 395 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc node->parent()->GetIndexOf(node) >= first_hidden) { GetIndexOf 774 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc int idx = model_->bookmark_bar_node()->GetIndexOf(parent_on_bb); GetIndexOf 970 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc int index = model_->bookmark_bar_node()->GetIndexOf(node); GetIndexOf 301 chrome/browser/ui/gtk/bookmarks/bookmark_bubble_gtk.cc model_->Remove(node->parent(), node->parent()->GetIndexOf(node)); GetIndexOf 415 chrome/browser/ui/gtk/gtk_tree.cc int idx = tree_model_->GetIndexOf(parent, node); GetIndexOf 320 chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc index = model->GetIndexOf(parent_node, selected_node); GetIndexOf 560 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int index = model_->bookmark_bar_node()->GetIndexOf(node); GetIndexOf 1158 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int button_index = GetIndexOf(view); GetIndexOf 1190 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int index = GetIndexOf(sender); GetIndexOf 1229 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int bookmark_button_index = GetIndexOf(source); GetIndexOf 1455 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int index = model_->bookmark_bar_node()->GetIndexOf(node); GetIndexOf 1639 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc int index = bbn->GetIndexOf(parent_on_bb); GetIndexOf 1664 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc old_index_on_bb = bbn->GetIndexOf(old_node); GetIndexOf 94 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc model->Remove(node->parent(), node->parent()->GetIndexOf(node)); GetIndexOf 118 chrome/browser/ui/views/bookmarks/bookmark_drag_drop_views.cc drop_parent->GetIndexOf(nodes[i]) : -1; GetIndexOf 207 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc int index_to_drop_at = drop_parent->GetIndexOf(node); GetIndexOf 248 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc int index_to_drop_at = drop_parent->GetIndexOf(drop_node); GetIndexOf 361 chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc parent->RemoveMenuItemAt(menu->parent()->GetIndexOf(menu)); GetIndexOf 416 chrome/browser/ui/views/desktop_media_picker_views.cc int index = GetIndexOf(selected); GetIndexOf 2125 chrome/browser/ui/views/frame/browser_view.cc int top_container_index = GetIndexOf(top_container_); GetIndexOf 87 chrome/browser/ui/views/frame/browser_view_unittest.cc browser_view()->GetIndexOf(browser_view()->find_bar_host_view())); GetIndexOf 89 chrome/browser/ui/views/frame/browser_view_unittest.cc browser_view()->GetIndexOf(top_container)); GetIndexOf 133 chrome/browser/ui/views/frame/browser_view_unittest.cc browser_view()->GetIndexOf(browser_view()->find_bar_host_view())); GetIndexOf 135 chrome/browser/ui/views/frame/browser_view_unittest.cc browser_view()->GetIndexOf(top_container)); GetIndexOf 163 chrome/browser/ui/views/frame/browser_view_unittest.cc browser_view()->GetIndexOf(top_container)); GetIndexOf 1578 chrome/browser/ui/views/location_bar/location_bar_view.cc AddChildViewAt(*i, GetIndexOf(right_anchor)); GetIndexOf 318 chrome/browser/ui/webui/cookies_tree_model_util.cc child_index = parent->GetIndexOf(child); GetIndexOf 183 chrome/browser/ui/webui/ntp/android/bookmarks_handler.cc bookmark_model_->Remove(parent_node, parent_node->GetIndexOf(node)); GetIndexOf 103 ui/app_list/views/search_result_actions_view.cc const int index = GetIndexOf(sender); GetIndexOf 71 ui/base/models/tree_model.h virtual int GetIndexOf(TreeModelNode* parent, TreeModelNode* child) = 0; GetIndexOf 146 ui/base/models/tree_node_model.h int GetIndexOf(const NodeType* node) const { GetIndexOf 229 ui/base/models/tree_node_model.h int index = parent->GetIndexOf(node); GetIndexOf 268 ui/base/models/tree_node_model.h virtual int GetIndexOf(TreeModelNode* parent, TreeModelNode* child) OVERRIDE { GetIndexOf 270 ui/base/models/tree_node_model.h return AsNode(parent)->GetIndexOf(AsNode(child)); GetIndexOf 163 ui/base/models/tree_node_model_unittest.cc TEST_F(TreeNodeModelTest, GetIndexOf) { GetIndexOf 175 ui/base/models/tree_node_model_unittest.cc EXPECT_EQ(-1, root.GetIndexOf(&root)); GetIndexOf 176 ui/base/models/tree_node_model_unittest.cc EXPECT_EQ(0, root.GetIndexOf(child1)); GetIndexOf 177 ui/base/models/tree_node_model_unittest.cc EXPECT_EQ(1, root.GetIndexOf(child2)); GetIndexOf 178 ui/base/models/tree_node_model_unittest.cc EXPECT_EQ(-1, root.GetIndexOf(foo1)); GetIndexOf 180 ui/base/models/tree_node_model_unittest.cc EXPECT_EQ(-1, child1->GetIndexOf(&root)); GetIndexOf 181 ui/base/models/tree_node_model_unittest.cc EXPECT_EQ(-1, child1->GetIndexOf(child1)); GetIndexOf 182 ui/base/models/tree_node_model_unittest.cc EXPECT_EQ(-1, child1->GetIndexOf(child2)); GetIndexOf 183 ui/base/models/tree_node_model_unittest.cc EXPECT_EQ(0, child1->GetIndexOf(foo1)); GetIndexOf 185 ui/base/models/tree_node_model_unittest.cc EXPECT_EQ(-1, child2->GetIndexOf(&root)); GetIndexOf 186 ui/base/models/tree_node_model_unittest.cc EXPECT_EQ(-1, child2->GetIndexOf(child2)); GetIndexOf 187 ui/base/models/tree_node_model_unittest.cc EXPECT_EQ(-1, child2->GetIndexOf(child1)); GetIndexOf 188 ui/base/models/tree_node_model_unittest.cc EXPECT_EQ(-1, child2->GetIndexOf(foo1)); GetIndexOf 266 ui/message_center/views/message_center_view.cc int index = GetIndexOf(view); GetIndexOf 848 ui/message_center/views/message_center_view.cc int index = message_list_view_->GetIndexOf(view); GetIndexOf 400 ui/views/accessibility/native_view_accessibility_win.cc int view_index = parent->GetIndexOf(view_); GetIndexOf 219 ui/views/controls/menu/menu_controller.cc int index = new_parent->GetIndexOf(parent); GetIndexOf 230 ui/views/controls/menu/menu_model_adapter_unittest.cc EXPECT_EQ(i, menu->GetSubmenu()->GetIndexOf(item)); GetIndexOf 277 ui/views/controls/menu/menu_model_adapter_unittest.cc EXPECT_EQ(i, submenu->GetSubmenu()->GetIndexOf(item)); GetIndexOf 306 ui/views/controls/tabbed_pane/tabbed_pane.cc const int index = tab_strip_->GetIndexOf(tab); GetIndexOf 863 ui/views/controls/tree/tree_view.cc model_->GetIndexOf(parent_internal_node->model_node(), model_node)); GetIndexOf 890 ui/views/controls/tree/tree_view.cc int index_in_parent = tmp_node->parent()->GetIndexOf(tmp_node); GetIndexOf 206 ui/views/view.h int GetIndexOf(const View* view) const; GetIndexOf 68 ui/views/view_unittest.cc int next = parent->GetIndexOf(v) + 1; GetIndexOf 2679 ui/views/view_unittest.cc TEST_F(ViewTest, GetIndexOf) { GetIndexOf 2691 ui/views/view_unittest.cc EXPECT_EQ(-1, root.GetIndexOf(NULL)); GetIndexOf 2692 ui/views/view_unittest.cc EXPECT_EQ(-1, root.GetIndexOf(&root)); GetIndexOf 2693 ui/views/view_unittest.cc EXPECT_EQ(0, root.GetIndexOf(child1)); GetIndexOf 2694 ui/views/view_unittest.cc EXPECT_EQ(1, root.GetIndexOf(child2)); GetIndexOf 2695 ui/views/view_unittest.cc EXPECT_EQ(-1, root.GetIndexOf(foo1)); GetIndexOf 2697 ui/views/view_unittest.cc EXPECT_EQ(-1, child1->GetIndexOf(NULL)); GetIndexOf 2698 ui/views/view_unittest.cc EXPECT_EQ(-1, child1->GetIndexOf(&root)); GetIndexOf 2699 ui/views/view_unittest.cc EXPECT_EQ(-1, child1->GetIndexOf(child1)); GetIndexOf 2700 ui/views/view_unittest.cc EXPECT_EQ(-1, child1->GetIndexOf(child2)); GetIndexOf 2701 ui/views/view_unittest.cc EXPECT_EQ(0, child1->GetIndexOf(foo1)); GetIndexOf 2703 ui/views/view_unittest.cc EXPECT_EQ(-1, child2->GetIndexOf(NULL)); GetIndexOf 2704 ui/views/view_unittest.cc EXPECT_EQ(-1, child2->GetIndexOf(&root)); GetIndexOf 2705 ui/views/view_unittest.cc EXPECT_EQ(-1, child2->GetIndexOf(child2)); GetIndexOf 2706 ui/views/view_unittest.cc EXPECT_EQ(-1, child2->GetIndexOf(child1)); GetIndexOf 2707 ui/views/view_unittest.cc EXPECT_EQ(-1, child2->GetIndexOf(foo1)); GetIndexOf 2727 ui/views/view_unittest.cc ASSERT_EQ(0, child->GetIndexOf(foo1)); GetIndexOf 2728 ui/views/view_unittest.cc ASSERT_EQ(1, child->GetIndexOf(foo2)); GetIndexOf 2729 ui/views/view_unittest.cc ASSERT_EQ(2, child->GetIndexOf(foo3)); GetIndexOf 2736 ui/views/view_unittest.cc ASSERT_EQ(0, child->GetIndexOf(foo1)); GetIndexOf 2737 ui/views/view_unittest.cc ASSERT_EQ(1, child->GetIndexOf(foo3)); GetIndexOf 2738 ui/views/view_unittest.cc ASSERT_EQ(2, child->GetIndexOf(foo2)); GetIndexOf 2745 ui/views/view_unittest.cc ASSERT_EQ(0, child->GetIndexOf(foo3)); GetIndexOf 2746 ui/views/view_unittest.cc ASSERT_EQ(1, child->GetIndexOf(foo2)); GetIndexOf 2747 ui/views/view_unittest.cc ASSERT_EQ(2, child->GetIndexOf(foo1)); GetIndexOf 2755 ui/views/view_unittest.cc ASSERT_EQ(0, child->GetIndexOf(foo2)); GetIndexOf 2756 ui/views/view_unittest.cc ASSERT_EQ(1, child->GetIndexOf(foo3)); GetIndexOf 2757 ui/views/view_unittest.cc ASSERT_EQ(2, child->GetIndexOf(foo1)); GetIndexOf 2821 ui/views/view_unittest.cc EXPECT_EQ(0, v1.GetIndexOf(&v2)); GetIndexOf 2822 ui/views/view_unittest.cc EXPECT_EQ(1, v1.GetIndexOf(&v3)); GetIndexOf 2826 ui/views/view_unittest.cc EXPECT_EQ(0, v1.GetIndexOf(&v2)); GetIndexOf 2827 ui/views/view_unittest.cc EXPECT_EQ(1, v1.GetIndexOf(&v3)); GetIndexOf 2829 ui/views/view_unittest.cc EXPECT_EQ(0, v1.GetIndexOf(&v2)); GetIndexOf 2830 ui/views/view_unittest.cc EXPECT_EQ(1, v1.GetIndexOf(&v3)); GetIndexOf 2834 ui/views/view_unittest.cc EXPECT_EQ(1, v1.GetIndexOf(&v2)); GetIndexOf 2835 ui/views/view_unittest.cc EXPECT_EQ(0, v1.GetIndexOf(&v3)); GetIndexOf 2837 ui/views/view_unittest.cc EXPECT_EQ(0, v1.GetIndexOf(&v2)); GetIndexOf 2838 ui/views/view_unittest.cc EXPECT_EQ(1, v1.GetIndexOf(&v3)); GetIndexOf 2842 ui/views/view_unittest.cc EXPECT_EQ(0, v1.GetIndexOf(&v2)); GetIndexOf 2843 ui/views/view_unittest.cc EXPECT_EQ(1, v1.GetIndexOf(&v3)); GetIndexOf 2845 ui/views/view_unittest.cc EXPECT_EQ(0, v1.GetIndexOf(&v2)); GetIndexOf 2846 ui/views/view_unittest.cc EXPECT_EQ(1, v1.GetIndexOf(&v3));