/external/chromium_org/chrome/browser/ui/android/tab_model/ |
D | tab_model_unittest.cc | 54 TestTabModel tab_model(&testing_profile); in TEST_F() local 57 EXPECT_EQ(&testing_profile, tab_model.GetProfile()); in TEST_F() 58 EXPECT_FALSE(tab_model.IsOffTheRecord()); in TEST_F() 65 EXPECT_EQ(NULL, tab_model.GetProfile()); in TEST_F() 75 TestTabModel tab_model(&testing_profile); in TEST_F() local 78 EXPECT_EQ(&testing_profile, tab_model.GetProfile()); in TEST_F() 79 EXPECT_TRUE(tab_model.IsOffTheRecord()); in TEST_F() 86 EXPECT_EQ(NULL, tab_model.GetProfile()); in TEST_F()
|
D | tab_model_list.cc | 23 void TabModelList::AddTabModel(TabModel* tab_model) { in AddTabModel() argument 24 DCHECK(tab_model); in AddTabModel() 25 tab_models().push_back(tab_model); in AddTabModel() 28 void TabModelList::RemoveTabModel(TabModel* tab_model) { in RemoveTabModel() argument 29 DCHECK(tab_model); in RemoveTabModel() 31 std::find(tab_models().begin(), tab_models().end(), tab_model); in RemoveTabModel()
|
D | tab_model_list.h | 27 static void AddTabModel(TabModel* tab_model); 28 static void RemoveTabModel(TabModel* tab_model);
|
/external/chromium/chrome/browser/tabs/ |
D | pinned_tab_codec.cc | 30 TabStripModel* tab_model = browser->tabstrip_model(); in HasPinnedTabs() local 31 for (int i = 0; i < tab_model->count(); ++i) { in HasPinnedTabs() 32 if (tab_model->IsTabPinned(i)) in HasPinnedTabs() 69 TabStripModel* tab_model = browser->tabstrip_model(); in EncodePinnedTabs() local 70 for (int i = 0; i < tab_model->count() && tab_model->IsTabPinned(i); ++i) in EncodePinnedTabs() 71 EncodePinnedTab(tab_model, i, values); in EncodePinnedTabs()
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | synced_window_delegate_android.cc | 31 TabModel* tab_model = TabModelList::FindTabModelWithId( in FindSyncedWindowDelegateWithId() local 35 return tab_model ? tab_model->GetSyncedWindowDelegate() : NULL; in FindSyncedWindowDelegateWithId() 41 TabModel* tab_model) in SyncedWindowDelegateAndroid() argument 42 : tab_model_(tab_model) {} in SyncedWindowDelegateAndroid()
|
D | synced_window_delegate_android.h | 20 explicit SyncedWindowDelegateAndroid(TabModel* tab_model);
|
/external/chromium_org/chrome/browser/ui/tabs/ |
D | pinned_tab_codec.cc | 33 TabStripModel* tab_model = browser->tab_strip_model(); in HasPinnedTabs() local 34 for (int i = 0; i < tab_model->count(); ++i) { in HasPinnedTabs() 35 if (tab_model->IsTabPinned(i)) in HasPinnedTabs() 82 TabStripModel* tab_model = browser->tab_strip_model(); in EncodePinnedTabs() local 83 for (int i = 0; i < tab_model->count() && tab_model->IsTabPinned(i); ++i) in EncodePinnedTabs() 84 EncodePinnedTab(tab_model, i, values); in EncodePinnedTabs()
|
/external/chromium_org/chrome/browser/sessions/ |
D | session_restore_android.cc | 29 TabModel* tab_model = TabModelList::GetTabModelWithProfile(profile); in RestoreForeignSessionTab() local 30 DCHECK(tab_model); in RestoreForeignSessionTab() 50 tab_model->CreateTab(new_web_contents); in RestoreForeignSessionTab()
|
/external/chromium_org/chrome/browser/profile_resetter/ |
D | profile_resetter.cc | 239 TabStripModel* tab_model = it->tab_strip_model(); in ResetPinnedTabs() local 243 for (int i = tab_model->count() - 1; i >= 0; --i) { in ResetPinnedTabs() 244 if (tab_model->IsTabPinned(i) && !tab_model->IsAppTab(i)) in ResetPinnedTabs() 245 tab_model->SetTabPinned(i, false); in ResetPinnedTabs()
|
/external/chromium_org/chrome/browser/android/ |
D | dev_tools_server.cc | 298 TabModel* tab_model = TabModelList::GetTabModelWithProfile(profile); in CreateNewTarget() local 299 if (!tab_model) in CreateNewTarget() 301 WebContents* web_contents = tab_model->CreateNewTabForDevTools(url); in CreateNewTarget() 305 for (int i = 0; i < tab_model->GetTabCount(); ++i) { in CreateNewTarget() 306 if (web_contents != tab_model->GetWebContentsAt(i)) in CreateNewTarget() 308 TabAndroid* tab = tab_model->GetTabAt(i); in CreateNewTarget()
|
/external/chromium_org/chrome/browser/ui/ |
D | browser_instant_controller.cc | 231 TabStripModel* tab_model = browser_->tab_strip_model(); in ReloadTabsInInstantProcess() local 232 int count = tab_model->count(); in ReloadTabsInInstantProcess() 234 content::WebContents* contents = tab_model->GetWebContentsAt(index); in ReloadTabsInInstantProcess()
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | history_ui.cc | 636 const TabModel* tab_model = in HandleClearBrowsingData() local 638 if (tab_model) in HandleClearBrowsingData() 639 tab_model->OpenClearBrowsingData(); in HandleClearBrowsingData()
|
/external/chromium_org/chrome/ |
D | chrome_browser_ui.gypi | 118 'browser/ui/android/tab_model/tab_model.cc', 119 'browser/ui/android/tab_model/tab_model.h', 120 'browser/ui/android/tab_model/tab_model_list.cc', 121 'browser/ui/android/tab_model/tab_model_list.h',
|
D | chrome_tests_unit.gypi | 1414 'browser/ui/android/tab_model/tab_model_unittest.cc',
|