Lines Matching refs:WINDOW
91 popup->window()->Show();
94 browser()->window()->Close();
96 // Create a new window, which should trigger session restore.
132 browser()->window()->Close();
134 // Expect a window with three tabs.
136 ASSERT_EQ(TabRestoreService::WINDOW, service->entries().front()->type);
137 const TabRestoreService::Window* window =
138 static_cast<TabRestoreService::Window*>(service->entries().front());
139 EXPECT_EQ(3U, window->tabs.size());
143 std::vector<TabRestoreService::Tab>::const_iterator it = window->tabs.begin();
144 for ( ; it != window->tabs.end(); ++it) {
153 // Make sure that the Window got updated.
155 ASSERT_EQ(TabRestoreService::WINDOW, service->entries().front()->type);
156 window = static_cast<TabRestoreService::Window*>(service->entries().front());
157 EXPECT_EQ(2U, window->tabs.size());
172 // Close the window.
173 browser()->window()->Close();
175 // Expect the window to be converted to a tab by the TRS.
188 // Verifies we remember the last browser window when closing the last
189 // non-incognito window while an incognito window is open.
202 // Create a new incognito window.
205 incognito_browser->window()->Show();
207 // Close the normal browser. After this we only have the incognito window
208 // open. We wait until the window closes as window closing is async.
211 browser()->window()->Close();
215 // Create a new window, which should trigger session restore.