/external/chromium/chrome/browser/ |
D | browser_keyevents_browsertest.cc | 141 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 …]
|
D | accessibility_events.h | 131 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
|
D | custom_home_pages_table_model.cc | 113 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()
|
D | accessibility_events.cc | 108 int tab_index, in AccessibilityTabInfo() argument 111 tab_index_(tab_index), in AccessibilityTabInfo()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_tabs_module.cc | 68 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 …]
|
D | extension_tabs_module.h | 34 int tab_index); 40 int* tab_index); 49 int* tab_index);
|
D | extension_devtools_bridge.cc | 53 int tab_index; in RegisterAsDevToolsClientHost() local 56 &contents, &tab_index)) { in RegisterAsDevToolsClientHost()
|
D | extension_processes_api.cc | 164 int tab_index = -1; in RunImpl() local 166 NULL, NULL, &contents, &tab_index)) { in RunImpl()
|
D | extension_browser_event_router.cc | 487 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/ |
D | automation_provider_json.cc | 81 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()
|
D | automation_util.cc | 99 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()
|
D | automation_util.h | 33 TabContents* GetTabContentsAt(int browser_index, int tab_index);
|
D | testing_automation_provider.cc | 996 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/ |
D | browser_tab_restore_service_delegate.cc | 42 int tab_index, in AddRestoredTab() argument 49 return browser_->AddRestoredTab(navigations, tab_index, selected_navigation, in AddRestoredTab()
|
D | browser_tab_restore_service_delegate.h | 38 int tab_index,
|
D | browser_navigator.cc | 101 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/ |
D | session_restore.cc | 203 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()
|
D | tab_restore_service.cc | 246 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()
|
D | tab_restore_service_delegate.h | 41 int tab_index,
|
/external/chromium/chrome/browser/ui/views/tabs/ |
D | side_tab_strip.cc | 456 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()
|
D | browser_tab_strip_controller.cc | 250 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()
|
D | base_tab_strip.h | 80 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()
|
D | side_tab_strip.h | 74 void MakeTabVisible(int tab_index);
|
/external/chromium/chrome/browser/debugger/ |
D | devtools_window.cc | 253 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/ |
D | tab_strip_model.cc | 1282 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()
|