Home | History | Annotate | Download | only in tabs

Lines Matching refs:attached_tabstrip_

60       attached_tabstrip_(source_tabstrip),
120 if (attached_tabstrip_ == source_tabstrip_) {
147 return IsDraggingTab(tab) && attached_tabstrip_ == NULL;
269 if (target_tabstrip != attached_tabstrip_) {
272 if (attached_tabstrip_)
285 if (attached_tabstrip_)
305 DCHECK(attached_tabstrip_);
308 TabStripModel* attached_model = attached_tabstrip_->model();
316 attached_tabstrip_->GetCurrentTabWidths(&unselected, &selected);
328 attached_tabstrip_->model()->MoveSelectedTabsTo(
345 DCHECK(!attached_tabstrip_);
397 attached_tabstrip_ = attached_tabstrip;
398 attached_tabstrip_->GenerateIdealBounds();
401 GetTabsMatchingDraggedContents(attached_tabstrip_);
411 int tab_count = attached_tabstrip_->GetTabCount();
412 int mini_tab_count = attached_tabstrip_->GetMiniTabCount();
419 attached_tabstrip_->GetDesiredTabWidths(tab_count, mini_tab_count,
423 gtk_widget_get_parent(attached_tabstrip_->tabstrip_.get()));
443 attached_tabstrip_->GenerateIdealBounds();
457 attached_tabstrip_->model()->InsertWebContentsAt(
461 RestoreSelection(attached_tabstrip_->model());
462 attached_dragged_tabs = GetTabsMatchingDraggedContents(attached_tabstrip_);
472 TabStripModel* attached_model = attached_tabstrip_->model();
478 // attached_tabstrip_ being set to NULL, so we need to save it first.
498 attached_tabstrip_ = NULL;
509 ConvertScreenPointToTabStripPoint(attached_tabstrip_, screen_point);
518 attached_tabstrip_->widget(),
521 attached_tabstrip_->widget(),
526 for (int i = 0; i < attached_tabstrip_->GetTabCount(); i++) {
529 gfx::Rect ideal_bounds = attached_tabstrip_->GetIdealBounds(i);
547 index = attached_tabstrip_->GetTabCount();
553 attached_tabstrip_, drag_data_->GetSourceWebContents());
561 attached_tabstrip_-> GetTabCount() - static_cast<int>(drag_data_->size());
572 if (attached_tabstrip_) {
574 ui::GetWidgetScreenBounds(attached_tabstrip_->tabstrip_.get());
606 if (index >= attached_tabstrip_->model_->count())
607 return attached_tabstrip_->model_->count() - 1;
636 attached_tabstrip_));
680 // We save this here because code below will modify |attached_tabstrip_|.
681 bool restore_window = attached_tabstrip_ != source_tabstrip_;
682 if (attached_tabstrip_) {
683 if (attached_tabstrip_ != source_tabstrip_) {
689 int index = attached_tabstrip_->model()->GetIndexOfWebContents(
691 attached_tabstrip_->model()->DetachWebContentsAt(index);
695 attached_tabstrip_ = source_tabstrip_;
699 attached_tabstrip_->model()->InsertWebContentsAt(
710 int index = attached_tabstrip_->model()->GetIndexOfWebContents(
719 attached_tabstrip_ = source_tabstrip_;
745 if (attached_tabstrip_) {
805 attached_tabstrip_);
839 if (attached_tabstrip_ != source_tabstrip_) {
854 if (attached_tabstrip_)