Home
last modified time | relevance | path

Searched refs:tab_index (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium/chrome/browser/
Dbrowser_keyevents_browsertest.cc141 void SuppressEventByType(int tab_index, const wchar_t* type, bool suppress) { in SuppressEventByType() argument
142 ASSERT_LT(tab_index, browser()->tab_count()); in SuppressEventByType()
145 browser()->GetTabContentsAt(tab_index)->render_view_host(), in SuppressEventByType()
152 void SuppressEvents(int tab_index, bool keydown, bool keypress, in SuppressEvents() argument
155 SuppressEventByType(tab_index, L"keydown", keydown)); in SuppressEvents()
157 SuppressEventByType(tab_index, L"keypress", keypress)); in SuppressEvents()
159 SuppressEventByType(tab_index, L"keyup", keyup)); in SuppressEvents()
161 SuppressEventByType(tab_index, L"textInput", textinput)); in SuppressEvents()
164 void SuppressAllEvents(int tab_index, bool suppress) { in SuppressAllEvents() argument
165 SuppressEvents(tab_index, suppress, suppress, suppress, suppress); in SuppressAllEvents()
[all …]
Daccessibility_events.h131 int tab_index,
138 void SetTab(int tab_index, std::string tab_name) { in SetTab() argument
139 tab_index_ = tab_index; in SetTab()
143 int tab_index() const { return tab_index_; } in tab_index() function
Dcustom_home_pages_table_model.cc113 for (int tab_index = 0; tab_index < browser->tab_count(); ++tab_index) { in SetToCurrentlyOpenPages() local
114 const GURL url = browser->GetTabContentsAt(tab_index)->GetURL(); in SetToCurrentlyOpenPages()
Daccessibility_events.cc108 int tab_index, in AccessibilityTabInfo() argument
111 tab_index_(tab_index), in AccessibilityTabInfo()
/external/chromium/chrome/browser/extensions/
Dextension_tabs_module.cc68 int* tab_index, std::string* error_message);
103 int tab_index; in CreateTabValue() local
104 if (ExtensionTabUtil::GetTabStripModel(contents, &tab_strip, &tab_index)) in CreateTabValue()
105 return ExtensionTabUtil::CreateTabValue(contents, tab_strip, tab_index); in CreateTabValue()
123 const TabContents* contents, TabStripModel* tab_strip, int tab_index) { in CreateTabValue() argument
126 result->SetInteger(keys::kIndexKey, tab_index); in CreateTabValue()
132 tab_strip && tab_index == tab_strip->active_index()); in CreateTabValue()
134 tab_strip && tab_strip->IsTabPinned(tab_index)); in CreateTabValue()
182 int* tab_index) { in GetTabStripModel() argument
185 DCHECK(tab_index); in GetTabStripModel()
[all …]
Dextension_tabs_module.h34 int tab_index);
40 int* tab_index);
49 int* tab_index);
Dextension_devtools_bridge.cc53 int tab_index; in RegisterAsDevToolsClientHost() local
56 &contents, &tab_index)) { in RegisterAsDevToolsClientHost()
Dextension_processes_api.cc164 int tab_index = -1; in RunImpl() local
166 NULL, NULL, &contents, &tab_index)) { in RunImpl()
Dextension_browser_event_router.cc487 int tab_index; in TabPinnedStateChanged() local
490 contents->tab_contents(), &tab_strip, &tab_index)) { in TabPinnedStateChanged()
493 tab_strip->IsTabPinned(tab_index)); in TabPinnedStateChanged()
/external/chromium/chrome/browser/automation/
Dautomation_provider_json.cc81 int browser_index, tab_index; in GetTabFromJSONArgs() local
86 if (!args->GetInteger("tab_index", &tab_index)) { in GetTabFromJSONArgs()
90 *tab = automation_util::GetTabContentsAt(browser_index, tab_index); in GetTabFromJSONArgs()
Dautomation_util.cc99 TabContents* GetTabContentsAt(int browser_index, int tab_index) { in GetTabContentsAt() argument
100 if (tab_index < 0) in GetTabContentsAt()
103 if (!browser || tab_index >= browser->tab_count()) in GetTabContentsAt()
105 return browser->GetTabContentsAt(tab_index); in GetTabContentsAt()
Dautomation_util.h33 TabContents* GetTabContentsAt(int browser_index, int tab_index);
Dtesting_automation_provider.cc996 int tab_index, in GetTab() argument
999 if (browser_tracker_->ContainsHandle(win_handle) && (tab_index >= 0)) { in GetTab()
1001 if (tab_index < browser->tab_count()) { in GetTab()
1002 TabContents* tab_contents = browser->GetTabContentsAt(tab_index); in GetTab()
2385 int tab_index; in PerformActionOnInfobar() local
2388 if (!args->GetInteger("tab_index", &tab_index) || in PerformActionOnInfobar()
2394 TabContents* tab_contents = browser->GetTabContentsAt(tab_index); in PerformActionOnInfobar()
2396 reply.SendError(StringPrintf("No such tab at index %d", tab_index)); in PerformActionOnInfobar()
2601 int tab_index; in GetNavigationInfo() local
2603 if (!args->GetInteger("tab_index", &tab_index) || in GetNavigationInfo()
[all …]
/external/chromium/chrome/browser/ui/
Dbrowser_tab_restore_service_delegate.cc42 int tab_index, in AddRestoredTab() argument
49 return browser_->AddRestoredTab(navigations, tab_index, selected_navigation, in AddRestoredTab()
Dbrowser_tab_restore_service_delegate.h38 int tab_index,
Dbrowser_navigator.cc101 int tab_index = (start_index + i) % tab_count; in GetIndexOfSingletonTab() local
103 params->browser->GetTabContentsWrapperAt(tab_index); in GetIndexOfSingletonTab()
118 return tab_index; in GetIndexOfSingletonTab()
/external/chromium/chrome/browser/sessions/
Dsession_restore.cc203 int tab_index; in LoadNextTab() local
204 Browser* browser = Browser::GetBrowserForController(tab, &tab_index); in LoadNextTab()
205 if (browser && browser->active_index() != tab_index) { in LoadNextTab()
636 const int tab_index = static_cast<int>(i - window.tabs.begin()); in RestoreTabsToBrowser() local
639 RestoreTab(tab, tab_index, browser, tab_index != selected_tab_index); in RestoreTabsToBrowser()
644 const int tab_index, in RestoreTab() argument
668 tab_index, in RestoreTab()
Dtab_restore_service.cc246 for (int tab_index = 0; tab_index < delegate->GetTabCount(); ++tab_index) { in BrowserClosing() local
248 tab_index, in BrowserClosing()
250 &delegate->GetTabContentsAt(tab_index)->controller()); in BrowserClosing()
905 int tab_index = -1; in RestoreTab() local
907 tab_index = tab.tabstrip_index; in RestoreTab()
915 if (tab_index < 0 || tab_index > delegate->GetTabCount()) { in RestoreTab()
916 tab_index = delegate->GetTabCount(); in RestoreTab()
920 tab_index, in RestoreTab()
Dtab_restore_service_delegate.h41 int tab_index,
/external/chromium/chrome/browser/ui/views/tabs/
Dside_tab_strip.cc456 void SideTabStrip::MakeTabVisible(int tab_index) { in MakeTabVisible() argument
460 if (ideal_bounds(tab_index).y() < kTabStripInset) { in MakeTabVisible()
461 SetFirstTabYOffset(first_tab_y_offset_ - ideal_bounds(tab_index).y() + in MakeTabVisible()
463 } else if (ideal_bounds(tab_index).bottom() > GetMaxTabY()) { in MakeTabVisible()
464 SetFirstTabYOffset(GetMaxTabY() - (ideal_bounds(tab_index).bottom() - in MakeTabVisible()
Dbrowser_tab_strip_controller.cc250 for (int tab_index = 0, tab_count = tabstrip_->tab_count(); in UpdateLoadingAnimations() local
251 tab_index < tab_count; ++tab_index) { in UpdateLoadingAnimations()
252 BaseTab* tab = tabstrip_->base_tab_at_tab_index(tab_index); in UpdateLoadingAnimations()
Dbase_tab_strip.h80 BaseTab* base_tab_at_tab_index(int tab_index) const { in base_tab_at_tab_index() argument
81 return tab_data_[tab_index].tab; in base_tab_at_tab_index()
Dside_tab_strip.h74 void MakeTabVisible(int tab_index);
/external/chromium/chrome/browser/debugger/
Ddevtools_window.cc253 int tab_index = (*it)->GetIndexOfController(&controller); in FindInspectedBrowserAndTabIndex() local
254 if (tab_index != TabStripModel::kNoTab) { in FindInspectedBrowserAndTabIndex()
256 *tab = tab_index; in FindInspectedBrowserAndTabIndex()
/external/chromium/chrome/browser/tabs/
Dtab_strip_model.cc1282 size_t tab_index = start; in MoveSelectedTabsToImpl() local
1283 while (tab_index < end && in MoveSelectedTabsToImpl()
1287 tab_index++; in MoveSelectedTabsToImpl()
1292 while (tab_index < end) { in MoveSelectedTabsToImpl()
1293 if (selection_model_.selected_indices()[tab_index] != target_index) { in MoveSelectedTabsToImpl()
1294 MoveTabContentsAt(selection_model_.selected_indices()[tab_index], in MoveSelectedTabsToImpl()
1297 tab_index++; in MoveSelectedTabsToImpl()

12