Lines Matching refs:window
118 // Make sure the browser has tabs and a window. Browsers destructor
122 // the tab count is 0 or the window is NULL, the browser is about to be
125 (*i)->window()) {
128 VLOG(1) << "Reassociating window " << window_id << " with " <<
154 // Only add a window if it contains valid tabs.
520 // Header data contains window information and ordered tab id's for each
521 // window.
534 // This a new window, create it.
537 const sync_pb::SessionWindow& window_s = header.window(i);
796 const SessionWindow& window) {
798 for (std::vector<SessionTab*>::const_iterator i = window.tabs.begin();
799 i != window.tabs.end(); ++i) {
891 // Iterate through the vector of windows, extracting the window data, along
906 const SessionWindow& window,
909 session_window->set_window_id(window.window_id.id());
910 session_window->set_selected_tab_index(window.selected_tab_index);
911 if (window.type == Browser::TYPE_NORMAL) {
914 } else if (window.type == Browser::TYPE_POPUP) {
920 window.type;
923 for (std::vector<SessionTab*>::const_iterator i = window.tabs.begin();
924 i != window.tabs.end(); ++i) {
933 const SessionWindow& window) {
936 for (size_t i = 0; i < window.tabs.size(); ++i) {
937 SessionTab* tab = window.tabs[i];