Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/ui/tabs/
Dtab_strip_model.cc331 ui::ListSelectionModel new_model; in InsertWebContentsAt() local
332 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() local
448 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() local
456 new_model.Copy(selection_model_); in AddTabAtToSelection()
[all …]
Dtab_strip_model.h527 void SetSelection(const ui::ListSelectionModel& new_model,
/external/chromium_org/chrome/browser/ui/
Dbrowser_tab_strip_model_delegate.cc63 TabStripModel* new_model = browser->tab_strip_model(); in CreateNewStripWithContents() local
73 new_model->InsertWebContentsAt( in CreateNewStripWithContents()
Dbrowser_browsertest.cc1523 TabStripModel* new_model = new_browser->tab_strip_model(); in IN_PROC_BROWSER_TEST_F() local
1524 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()
/external/chromium_org/ui/views/controls/table/
Dtable_view.cc385 ui::ListSelectionModel new_model; in OnMousePressed() local
386 ConfigureSelectionModelForEvent(event, &new_model); in OnMousePressed()
387 SetSelectionModel(new_model); in OnMousePressed()
402 ui::ListSelectionModel new_model; in OnGestureEvent() local
403 ConfigureSelectionModelForEvent(*event, &new_model); in OnGestureEvent()
404 SetSelectionModel(new_model); in OnGestureEvent()