Home | History | Annotate | Download | only in tabs

Lines Matching refs:attached_tabstrip_

43       attached_tabstrip_(source_tabstrip),
94 if (attached_tabstrip_ == source_tabstrip_)
106 return (attached_tabstrip_ == NULL);
244 if (target_tabstrip != attached_tabstrip_) {
247 if (attached_tabstrip_)
266 if (attached_tabstrip_) {
267 TabStripModel* attached_model = attached_tabstrip_->model();
274 attached_tabstrip_->GetCurrentTabWidths(&unselected, &selected);
341 attached_tabstrip_ = attached_tabstrip;
343 attached_tabstrip_->GenerateIdealBounds();
345 TabGtk* tab = GetTabMatchingDraggedContents(attached_tabstrip_);
355 int tab_count = attached_tabstrip_->GetTabCount();
356 int mini_tab_count = attached_tabstrip_->GetMiniTabCount();
360 attached_tabstrip_->GetDesiredTabWidths(tab_count, mini_tab_count,
382 attached_tabstrip_->GenerateIdealBounds();
394 attached_tabstrip_->model()->InsertTabContentsAt(
399 tab = GetTabMatchingDraggedContents(attached_tabstrip_);
410 TabStripModel* attached_model = attached_tabstrip_->model();
414 // attached_tabstrip_ being set to NULL, so we need to save it first.
415 TabStripGtk* attached_tabstrip = attached_tabstrip_;
434 attached_tabstrip_ = NULL;
447 ConvertScreenPointToTabStripPoint(attached_tabstrip_, screen_point);
460 gtk_util::MirroredXCoordinate(attached_tabstrip_->widget(),
466 for (int i = 0; i < attached_tabstrip_->GetTabCount(); i++) {
467 gfx::Rect ideal_bounds = attached_tabstrip_->GetIdealBounds(i);
493 index = at_the_end ? attached_tabstrip_->model()->count() : 0;
496 index = attached_tabstrip_->model()->ConstrainInsertionIndex(index, mini_);
498 index == attached_tabstrip_->model()->IndexOfFirstNonMiniTab()) {
511 if (attached_tabstrip_) {
513 gtk_util::GetWidgetScreenBounds(attached_tabstrip_->tabstrip_.get());
550 if (index >= attached_tabstrip_->model_->count())
551 return attached_tabstrip_->model_->count() - 1;
613 // We save this here because code below will modify |attached_tabstrip_|.
614 bool restore_window = attached_tabstrip_ != source_tabstrip_;
615 if (attached_tabstrip_) {
616 int index = attached_tabstrip_->model()->GetIndexOfTabContents(
618 if (attached_tabstrip_ != source_tabstrip_) {
621 attached_tabstrip_->model()->DetachTabContentsAt(index);
624 attached_tabstrip_ = source_tabstrip_;
638 attached_tabstrip_ = source_tabstrip_;
660 if (attached_tabstrip_) {
663 TabGtk* tab = GetTabMatchingDraggedContents(attached_tabstrip_);
748 if (attached_tabstrip_ != source_tabstrip_) {
757 if (attached_tabstrip_) {
758 TabGtk* tab = GetTabMatchingDraggedContents(attached_tabstrip_);