Home | History | Annotate | Download | only in sessions

Lines Matching refs:pinned

83   // If |pinned| is true, the tab is marked as pinned in the session service.
84 void AddWindowWithOneTabToSessionService(bool pinned) {
92 if (pinned)
101 // way of AddWindowWithOneTabToSessionService. If |pinned| is true, the
102 // tab is marked as pinned in the session service.
103 void CreateSessionServiceWithOneWindow(bool pinned) {
108 AddWindowWithOneTabToSessionService(pinned);
135 EXPECT_FALSE(tab->pinned);
157 EXPECT_FALSE(tab->pinned);
191 EXPECT_FALSE(tab->pinned);
201 // Tests restoring a single pinned tab.
211 // We have to explicitly mark the tab as pinned as there is no browser for
216 tab->pinned = true;
230 EXPECT_TRUE(tab->pinned);
367 ASSERT_FALSE(tab->pinned);
377 // Make sure pinned state is correctly loaded from session service.
399 EXPECT_TRUE(window->tabs[0].pinned);
408 ASSERT_FALSE(tab->pinned);