Home | History | Annotate | Download | only in tabs

Lines Matching refs:pinned

120   // Force app tabs to be pinned.
136 data->pinned = pin;
307 // Then move the non-pinned tabs.
498 void TabStripModel::SetTabPinned(int index, bool pinned) {
500 if (contents_data_[index]->pinned == pinned)
504 if (!pinned) {
505 // App tabs should always be pinned.
509 // Changing the pinned state of an app tab doesn't effect it's mini-tab
511 contents_data_[index]->pinned = pinned;
516 contents_data_[index]->pinned = pinned;
517 if (pinned && index != non_mini_tab_index) {
520 } else if (!pinned && index + 1 != non_mini_tab_index) {
539 return contents_data_[index]->pinned;
965 // If all tabs are pinned, then we unpin, otherwise we pin.