Searched refs:tab_index (Results 1 - 25 of 33) sorted by relevance

12

/external/chromium/chrome/browser/
H A Dbrowser_keyevents_browsertest.cc141 void SuppressEventByType(int tab_index, const wchar_t* type, bool suppress) { argument
142 ASSERT_LT(tab_index, browser()->tab_count());
145 browser()->GetTabContentsAt(tab_index)->render_view_host(),
152 void SuppressEvents(int tab_index, bool keydown, bool keypress, argument
155 SuppressEventByType(tab_index, L"keydown", keydown));
157 SuppressEventByType(tab_index, L"keypress", keypress));
159 SuppressEventByType(tab_index, L"keyup", keyup));
161 SuppressEventByType(tab_index, L"textInput", textinput));
164 void SuppressAllEvents(int tab_index, bool suppress) { argument
165 SuppressEvents(tab_index, suppres
168 GetResultLength(int tab_index, int* length) argument
175 CheckResult(int tab_index, int length, const char* const result[]) argument
195 CheckFocusedElement(int tab_index, const wchar_t* focused) argument
204 SetFocusedElement(int tab_index, const wchar_t* focused) argument
215 CheckTextBoxValue(int tab_index, const wchar_t* id, const wchar_t* value) argument
227 SetTextBoxValue(int tab_index, const wchar_t* id, const wchar_t* value) argument
239 StartTest(int tab_index, int result_length) argument
248 TestKeyEvent(int tab_index, const KeyEventTestData& test) argument
358 int tab_index = browser()->active_index(); local
443 int tab_index = browser()->active_index(); local
488 int tab_index = browser()->active_index(); local
585 int tab_index = browser()->active_index(); local
750 int tab_index = browser()->active_index(); local
787 int tab_index = browser()->active_index(); local
828 int tab_index = browser()->active_index(); local
[all...]
H A Daccessibility_events.h131 int tab_index,
138 void SetTab(int tab_index, std::string tab_name) { argument
139 tab_index_ = tab_index;
143 int tab_index() const { return tab_index_; } function in class:AccessibilityTabInfo
H A Dcustom_home_pages_table_model.cc113 for (int tab_index = 0; tab_index < browser->tab_count(); ++tab_index) {
114 const GURL url = browser->GetTabContentsAt(tab_index)->GetURL();
H A Daccessibility_events.cc108 int tab_index,
111 tab_index_(tab_index),
106 AccessibilityTabInfo(Profile* profile, const std::string& tab_name, int tab_index, int tab_count) argument
/external/chromium/chrome/browser/automation/
H A Dautomation_provider_json.cc81 int browser_index, tab_index; local
86 if (!args->GetInteger("tab_index", &tab_index)) {
87 *error = "'tab_index' missing or invalid";
90 *tab = automation_util::GetTabContentsAt(browser_index, tab_index);
H A Dautomation_util.h31 // Returns the tab at |tab_index| within the browser at |browser_index| in the
33 TabContents* GetTabContentsAt(int browser_index, int tab_index);
H A Dautomation_util.cc99 TabContents* GetTabContentsAt(int browser_index, int tab_index) { argument
100 if (tab_index < 0)
103 if (!browser || tab_index >= browser->tab_count())
105 return browser->GetTabContentsAt(tab_index);
H A Dtesting_automation_provider.cc996 int tab_index,
999 if (browser_tracker_->ContainsHandle(win_handle) && (tab_index >= 0)) {
1001 if (tab_index < browser->tab_count()) {
1002 TabContents* tab_contents = browser->GetTabContentsAt(tab_index);
2378 // "tab_index": 0 }
2385 int tab_index; local
2388 if (!args->GetInteger("tab_index", &tab_index) ||
2394 TabContents* tab_contents = browser->GetTabContentsAt(tab_index);
2396 reply.SendError(StringPrintf("No such tab at index %d", tab_index));
995 GetTab(int win_handle, int tab_index, int* tab_handle) argument
2601 int tab_index; local
3249 int tab_index = 0; local
3547 int tab_index; local
3960 int tab_index = 0; local
4025 int tab_index = 0; local
[all...]
/external/chromium/chrome/browser/extensions/
H A Dextension_tabs_module.cc68 int* tab_index, std::string* error_message);
103 int tab_index; local
104 if (ExtensionTabUtil::GetTabStripModel(contents, &tab_strip, &tab_index))
105 return ExtensionTabUtil::CreateTabValue(contents, tab_strip, tab_index);
123 const TabContents* contents, TabStripModel* tab_strip, int tab_index) {
126 result->SetInteger(keys::kIndexKey, tab_index);
132 tab_strip && tab_index == tab_strip->active_index());
134 tab_strip && tab_strip->IsTabPinned(tab_index));
182 int* tab_index) {
185 DCHECK(tab_index);
122 CreateTabValue( const TabContents* contents, TabStripModel* tab_strip, int tab_index) argument
180 GetTabStripModel(const TabContents* tab_contents, TabStripModel** tab_strip_model, int* tab_index) argument
218 GetTabById(int tab_id, Profile* profile, bool include_incognito, Browser** browser, TabStripModel** tab_strip, TabContentsWrapper** contents, int* tab_index) argument
383 int tab_index = -1; local
775 int tab_index = -1; local
808 int tab_index = -1; local
959 int tab_index = -1; local
1332 GetTabById(int tab_id, Profile* profile, bool include_incognito, Browser** browser, TabStripModel** tab_strip, TabContentsWrapper** contents, int* tab_index, std::string* error_message) argument
[all...]
H A Dextension_tabs_module.h34 int tab_index);
37 // Gets the |tab_strip_model| and |tab_index| for the given |tab_contents|.
40 int* tab_index);
43 // Any out parameter (|browser|, |tab_strip|, |contents|, & |tab_index|) may
49 int* tab_index);
H A Dextension_devtools_bridge.cc53 int tab_index; local
56 &contents, &tab_index)) {
H A Dextension_processes_api.cc164 int tab_index = -1; local
166 NULL, NULL, &contents, &tab_index)) {
H A Dextension_browser_event_router.cc487 int tab_index; local
490 contents->tab_contents(), &tab_strip, &tab_index)) {
493 tab_strip->IsTabPinned(tab_index));
/external/chromium/chrome/browser/ui/
H A Dbrowser_tab_restore_service_delegate.cc42 int tab_index,
49 return browser_->AddRestoredTab(navigations, tab_index, selected_navigation,
40 AddRestoredTab( const std::vector<TabNavigation>& navigations, int tab_index, int selected_navigation, const std::string& extension_app_id, bool select, bool pin, bool from_last_session, SessionStorageNamespace* storage_namespace) argument
H A Dbrowser_tab_restore_service_delegate.h38 int tab_index,
H A Dbrowser_navigator.cc101 int tab_index = (start_index + i) % tab_count; local
103 params->browser->GetTabContentsWrapperAt(tab_index);
118 return tab_index;
/external/chromium/chrome/browser/sessions/
H A Dtab_restore_service_delegate.h41 int tab_index,
H A Dsession_restore.cc203 int tab_index; local
204 Browser* browser = Browser::GetBrowserForController(tab, &tab_index);
205 if (browser && browser->active_index() != tab_index) {
636 const int tab_index = static_cast<int>(i - window.tabs.begin()); local
639 RestoreTab(tab, tab_index, browser, tab_index != selected_tab_index);
644 const int tab_index,
668 tab_index,
643 RestoreTab(const SessionTab& tab, const int tab_index, Browser* browser, bool schedule_load) argument
H A Dtab_restore_service.cc246 for (int tab_index = 0; tab_index < delegate->GetTabCount(); ++tab_index) {
248 tab_index,
250 &delegate->GetTabContentsAt(tab_index)->controller());
905 int tab_index = -1; local
907 tab_index = tab.tabstrip_index;
915 if (tab_index < 0 || tab_index > delegate->GetTabCount()) {
916 tab_index
[all...]
/external/chromium/chrome/browser/ui/views/tabs/
H A Dside_tab_strip.cc456 void SideTabStrip::MakeTabVisible(int tab_index) { argument
460 if (ideal_bounds(tab_index).y() < kTabStripInset) {
461 SetFirstTabYOffset(first_tab_y_offset_ - ideal_bounds(tab_index).y() +
463 } else if (ideal_bounds(tab_index).bottom() > GetMaxTabY()) {
464 SetFirstTabYOffset(GetMaxTabY() - (ideal_bounds(tab_index).bottom() -
H A Dbrowser_tab_strip_controller.cc250 for (int tab_index = 0, tab_count = tabstrip_->tab_count();
251 tab_index < tab_count; ++tab_index) {
252 BaseTab* tab = tabstrip_->base_tab_at_tab_index(tab_index);
H A Dside_tab_strip.h73 // Make sure the tab at |tab_index| is visible.
74 void MakeTabVisible(int tab_index);
H A Dbase_tab_strip.h80 BaseTab* base_tab_at_tab_index(int tab_index) const {
81 return tab_data_[tab_index].tab;
/external/chromium/chrome/browser/tabs/
H A Dtab_strip_model.cc1282 size_t tab_index = start;
1283 while (tab_index < end &&
1287 tab_index++;
1292 while (tab_index < end) {
1293 if (selection_model_.selected_indices()[tab_index] != target_index) {
1294 MoveTabContentsAt(selection_model_.selected_indices()[tab_index],
1297 tab_index++;
/external/chromium/chrome/browser/debugger/
H A Ddevtools_window.cc253 int tab_index = (*it)->GetIndexOfController(&controller); local
254 if (tab_index != TabStripModel::kNoTab) {
256 *tab = tab_index;

Completed in 360 milliseconds

12