Searched refs:new_model (Results 1 – 5 of 5) sorted by relevance
331 ui::ListSelectionModel new_model; in InsertWebContentsAt() local332 new_model.Copy(selection_model_); in InsertWebContentsAt()333 new_model.SetSelectedIndex(index); in InsertWebContentsAt()334 SetSelection(new_model, NOTIFY_DEFAULT); in InsertWebContentsAt()447 ui::ListSelectionModel new_model; in ActivateTabAt() local448 new_model.Copy(selection_model_); in ActivateTabAt()449 new_model.SetSelectedIndex(index); in ActivateTabAt()450 SetSelection(new_model, user_gesture ? NOTIFY_USER_GESTURE : NOTIFY_DEFAULT); in ActivateTabAt()455 ui::ListSelectionModel new_model; in AddTabAtToSelection() local456 new_model.Copy(selection_model_); in AddTabAtToSelection()[all …]
527 void SetSelection(const ui::ListSelectionModel& new_model,
63 TabStripModel* new_model = browser->tab_strip_model(); in CreateNewStripWithContents() local73 new_model->InsertWebContentsAt( in CreateNewStripWithContents()
1523 TabStripModel* new_model = new_browser->tab_strip_model(); in IN_PROC_BROWSER_TEST_F() local1524 EXPECT_TRUE(new_model->IsAppTab(0)); in IN_PROC_BROWSER_TEST_F()1525 EXPECT_FALSE(new_model->IsAppTab(1)); in IN_PROC_BROWSER_TEST_F()1526 EXPECT_FALSE(new_model->IsAppTab(2)); in IN_PROC_BROWSER_TEST_F()1528 EXPECT_TRUE(new_model->IsTabPinned(0)); in IN_PROC_BROWSER_TEST_F()1529 EXPECT_TRUE(new_model->IsTabPinned(1)); in IN_PROC_BROWSER_TEST_F()1530 EXPECT_FALSE(new_model->IsTabPinned(2)); in IN_PROC_BROWSER_TEST_F()1533 new_model->GetWebContentsAt(2)->GetURL()); in IN_PROC_BROWSER_TEST_F()1537 new_model->GetWebContentsAt(0))->extension_app() == extension_app); in IN_PROC_BROWSER_TEST_F()
385 ui::ListSelectionModel new_model; in OnMousePressed() local386 ConfigureSelectionModelForEvent(event, &new_model); in OnMousePressed()387 SetSelectionModel(new_model); in OnMousePressed()402 ui::ListSelectionModel new_model; in OnGestureEvent() local403 ConfigureSelectionModelForEvent(*event, &new_model); in OnGestureEvent()404 SetSelectionModel(new_model); in OnGestureEvent()