Lines Matching refs:tab_id
124 SessionID::id_type tab_id;
180 const SessionID& tab_id) {
184 ScheduleCommand(CreateSetTabWindowCommand(window_id, tab_id));
198 const SessionID& tab_id,
203 ScheduleCommand(CreateSetTabIndexInWindowCommand(tab_id, new_index));
207 const SessionID& tab_id,
212 ScheduleCommand(CreatePinnedStateCommand(tab_id, is_pinned));
216 const SessionID& tab_id,
218 if (!tab_id.id())
224 IdToRange::iterator i = tab_to_available_range_.find(tab_id.id());
233 pending_tab_close_ids_.insert(tab_id.id());
243 ScheduleCommand(CreateTabClosedCommand(tab_id.id()));
247 pending_tab_close_ids_.insert(tab_id.id());
311 const SessionID& tab_id,
317 payload.id = tab_id.id();
328 const SessionID& tab_id,
334 if (tab_to_available_range_.find(tab_id.id()) !=
336 std::pair<int, int>& range = tab_to_available_range_[tab_id.id()];
342 payload.id = tab_id.id();
352 const SessionID& tab_id,
358 if (tab_to_available_range_.find(tab_id.id()) !=
360 std::pair<int, int>& range = tab_to_available_range_[tab_id.id()];
365 tab_id.id(), index, entry));
379 const SessionID& tab_id,
384 if (tab_to_available_range_.find(tab_id.id()) !=
386 if (index < tab_to_available_range_[tab_id.id()].first ||
387 index > tab_to_available_range_[tab_id.id()].second) {
394 ScheduleCommand(CreateSetSelectedNavigationIndexCommand(tab_id, index));
610 const SessionID& tab_id,
617 tab_id.id(),
635 const SessionID& tab_id) {
636 SessionID::id_type payload[] = { window_id.id(), tab_id.id() };
661 const SessionID& tab_id,
664 payload.id = tab_id.id();
673 const SessionID::id_type tab_id) {
679 payload.id = tab_id;
701 const SessionID& tab_id,
704 payload.id = tab_id.id();
725 const SessionID& tab_id,
728 payload.tab_id = tab_id.id();
797 SessionID::id_type tab_id,
800 std::map<int, SessionTab*>::iterator i = tabs->find(tab_id);
803 tab->tab_id.set_id(tab_id);
804 (*tabs)[tab_id] = tab;
835 return delta == 0 ? (t1->tab_id.id() < t2->tab_id.id()) : (delta < 0);
988 SessionID::id_type tab_id;
989 if (!RestoreUpdateTabNavigationCommand(*command, &navigation, &tab_id))
992 SessionTab* tab = GetTab(tab_id, tabs);
1034 GetTab(payload.tab_id, tabs)->pinned = payload.pinned_state;
1039 SessionID::id_type tab_id;
1042 *command, &tab_id, &extension_app_id)) {
1046 GetTab(tab_id, tabs)->extension_app_id.swap(extension_app_id);