Lines Matching defs:window_id
49 service()->SetWindowType(window_id, Browser::TYPE_NORMAL);
50 service()->SetWindowBounds(window_id, window_bounds, false);
66 void UpdateNavigation(const SessionID& window_id,
79 service()->UpdateTabNavigation(window_id, tab_id, index, entry);
81 service()->SetSelectedNavigationIndex(window_id, tab_id, index);
104 helper_.PrepareTabInWindow(window_id, tab_id, 0, true);
105 UpdateNavigation(window_id, tab_id, nav1, 0, true);
108 helper_.service()->SetPinnedState(window_id, tab_id, pinned_state);
121 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
132 SessionID window_id;
146 ASSERT_NE(window_id.id(), tab_id.id());
153 helper_.PrepareTabInWindow(window_id, tab_id, 0, true);
154 UpdateNavigation(window_id, tab_id, nav1, 0, true);
162 ASSERT_EQ(window_id.id(), windows[0]->window_id.id());
167 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
175 ASSERT_NE(window_id.id(), tab_id.id());
182 helper_.PrepareTabInWindow(window_id, tab_id, 0, true);
183 UpdateNavigation(window_id, tab_id, nav1, 0, true);
203 helper_.PrepareTabInWindow(window_id, tab_id, 0, true);
204 UpdateNavigation(window_id, tab_id, nav1, 0, true);
206 helper_.PrepareTabInWindow(window_id, tab2_id, 1, false);
207 UpdateNavigation(window_id, tab2_id, nav2, 0, true);
208 service()->TabClosed(window_id, tab2_id, false);
215 ASSERT_EQ(window_id.id(), windows[0]->window_id.id());
219 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
234 helper_.PrepareTabInWindow(window_id, tab_id, 0, true);
237 UpdateNavigation(window_id, tab_id, nav, i, true);
239 service()->TabNavigationPathPrunedFromBack(window_id, tab_id, 3);
251 helper_.AssertTabEquals(window_id, tab_id, 0, 2, 3, *tab);
270 helper_.PrepareTabInWindow(window_id, tab1_id, 0, true);
271 UpdateNavigation(window_id, tab1_id, nav1, 0, true);
290 if (windows[0]->window_id.id() == window_id.id()) {
291 ASSERT_EQ(window2_id.id(), windows[1]->window_id.id());
297 ASSERT_EQ(window2_id.id(), windows[0]->window_id.id());
298 ASSERT_EQ(window_id.id(), windows[1]->window_id.id());
305 helper_.AssertTabEquals(window_id, tab1_id, 0, 0, 1, *tab);
322 helper_.PrepareTabInWindow(window_id, tab1_id, 0, true);
323 UpdateNavigation(window_id, tab1_id, nav1, 0, true);
336 ASSERT_EQ(window_id.id(), windows[0]->window_id.id());
339 helper_.AssertTabEquals(window_id, tab1_id, 0, 0, 1, *tab);
355 helper_.PrepareTabInWindow(window_id, tab_id, 0, true);
356 UpdateNavigation(window_id, tab_id, nav1, 0, true);
358 helper_.PrepareTabInWindow(window_id, tab2_id, 1, false);
359 UpdateNavigation(window_id, tab2_id, nav2, 0, true);
361 service()->WindowClosing(window_id);
368 ASSERT_EQ(window_id.id(), windows[0]->window_id.id());
372 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
376 helper_.AssertTabEquals(window_id, tab2_id, 1, 0, 1, *tab);
384 ASSERT_NE(window2_id.id(), window_id.id());
396 helper_.PrepareTabInWindow(window_id, tab_id, 0, true);
397 UpdateNavigation(window_id, tab_id, nav1, 0, true);
411 ASSERT_EQ(window_id.id(), windows[0]->window_id.id());
415 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
427 ASSERT_NE(window2_id.id(), window_id.id());
439 helper_.PrepareTabInWindow(window_id, tab_id, 0, true);
440 UpdateNavigation(window_id, tab_id, nav1, 0, true);
450 ASSERT_EQ(window_id.id(), windows[0]->window_id.id());
454 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
466 ASSERT_NE(window2_id.id(), window_id.id());
478 helper_.PrepareTabInWindow(window_id, tab_id, 0, true);
479 UpdateNavigation(window_id, tab_id, nav1, 0, true);
492 ASSERT_EQ(window_id.id(), windows[normal_index]->window_id.id());
496 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab);
500 ASSERT_EQ(window2_id.id(), windows[popup_index]->window_id.id());
513 helper_.PrepareTabInWindow(window_id, tab_id, 0, true);
519 UpdateNavigation(window_id, tab_id, nav, i, (i == 3));
523 helper_.service()->TabNavigationPathPrunedFromFront(window_id, tab_id, 2);
531 ASSERT_EQ(window_id.id(), windows[0]->window_id.id());
554 helper_.PrepareTabInWindow(window_id, tab_id, 0, true);
560 UpdateNavigation(window_id, tab_id, nav, i, (i == 3));
564 helper_.service()->TabNavigationPathPrunedFromFront(window_id, tab_id, 5);
586 ASSERT_NE(window_id.id(), tab_id.id());
593 helper_.PrepareTabInWindow(window_id, tab_id, 0, true);
594 UpdateNavigation(window_id, tab_id, nav1, 0, true);
595 helper_.SetTabExtensionAppID(window_id, tab_id, app_id);
651 ASSERT_NE(window_id.id(), tab_id.id());
658 helper_.PrepareTabInWindow(window_id, tab_id, 0, true);
659 UpdateNavigation(window_id, tab_id, nav1, 0, true);
660 service()->TabClosed(window_id, tab_id, true);