Home | History | Annotate | Download | only in tabs

Lines Matching refs:tabstrip_

125       : tabstrip_(tabstrip),
181 tabstrip_->AnimationLayout(end_unselected_width_);
185 tabstrip_->FinishAnimation(this, layout_on_completion_);
217 tabstrip_->GetDesiredTabWidths(start_tab_count, start_mini_count,
230 tabstrip_->GenerateIdealBounds();
231 tabstrip_->GetDesiredTabWidths(end_tab_count, end_mini_count,
236 TabStripGtk* tabstrip_;
278 bool is_selected = tabstrip_->model()->active_index() == index;
280 if (index < tabstrip_->GetMiniTabCount()) {
298 if (tabstrip_->GetTabAt(index)->mini())
301 if (tabstrip_->GetTabAt(index)->IsSelected()) {
352 TabGtk* tab = tabstrip_->GetTabAt(index);
375 if (tabstrip_->available_width_for_tabs_ != -1 &&
376 index_ != tabstrip_->GetTabCount() - 1) {
392 tabstrip_->RemoveTabAt(index_);
409 start_tab_a_bounds_(tabstrip_->GetIdealBounds(tab_b_index)),
410 start_tab_b_bounds_(tabstrip_->GetIdealBounds(tab_a_index)) {
411 tab_a_ = tabstrip_->GetTabAt(tab_a_index);
412 tab_b_ = tabstrip_->GetTabAt(tab_b_index);
429 tabstrip_->SetTabBounds(tab_a_, bounds);
437 tabstrip_->SetTabBounds(tab_b_, bounds);
474 tabstrip_->needs_resize_layout_ = false;
485 TabGtk* tab = tabstrip_->GetTabAt(index);
505 for (int i = 0; i < tabstrip_->GetTabCount(); ++i) {
506 TabGtk* current_tab = tabstrip_->GetTabAt(i);
534 tabstrip_->GetTabAt(index)->set_animating_mini_change(true);
546 TabGtk* tab = tabstrip_->GetTabAt(index);
618 tabstrip_->SetTabBounds(tab_, tab_bounds);
622 tabstrip_->needs_resize_layout_ = false;
652 TabGtk* tab = tabstrip_->GetTabAt(index);
710 tabstrip_.Destroy();
730 tabstrip_.Own(gtk_fixed_new());
731 ViewIDUtil::SetID(tabstrip_.get(), VIEW_ID_TAB_STRIP);
734 gtk_widget_set_size_request(tabstrip_.get(), 0,
736 gtk_widget_set_app_paintable(tabstrip_.get(), TRUE);
737 gtk_drag_dest_set(tabstrip_.get(), GTK_DEST_DEFAULT_ALL,
745 ui::SetDestTargetList(tabstrip_.get(), targets);
747 g_signal_connect(tabstrip_.get(), "expose-event",
749 g_signal_connect(tabstrip_.get(), "size-allocate",
751 g_signal_connect(tabstrip_.get(), "drag-motion",
753 g_signal_connect(tabstrip_.get(), "drag-drop",
755 g_signal_connect(tabstrip_.get(), "drag-leave",
757 g_signal_connect(tabstrip_.get(), "drag-data-received",
762 gtk_widget_show_all(tabstrip_.get());
764 bounds_ = GetInitialWidgetBounds(tabstrip_.get());
777 gtk_widget_show(tabstrip_.get());
781 gtk_widget_hide(tabstrip_.get());
816 gtk_widget_queue_draw(tabstrip_.get());
841 gtk_widget_queue_draw_area(tabstrip_.get(),
880 gtk_container_remove(GTK_CONTAINER(tabstrip_.get()), tab->widget());
988 if (gtk_widget_get_parent(tab->widget()) != tabstrip_.get())
989 gtk_fixed_put(GTK_FIXED(tabstrip_.get()), tab->widget(), 0, 0);
1305 gtk_container_remove(GTK_CONTAINER(tabstrip_.get()), removed->widget());
1369 bounds.set_x(gtk_util::MirroredLeftPointForRect(tabstrip_.get(), bounds));
1371 gtk_fixed_move(GTK_FIXED(tabstrip_.get()), newtab_button_->widget(),
1394 int available_width = tabstrip_->allocation.width;
1503 gtk_util::ConvertWidgetPointToScreen(tabstrip_.get(), &tabstrip_topleft);
1539 gfx::Rect bounds = tab->GetNonMirroredBounds(tabstrip_.get());
1547 gfx::Rect bounds = last_tab->GetNonMirroredBounds(tabstrip_.get());
1551 center_x = gtk_util::MirroredXCoordinate(tabstrip_.get(), center_x);
1556 gtk_util::ConvertWidgetPointToScreen(tabstrip_.get(), &drop_loc);
1573 x = gtk_util::MirroredXCoordinate(tabstrip_.get(), x);
1577 gfx::Rect bounds = tab->GetNonMirroredBounds(tabstrip_.get());
1897 gtk_container_propagate_expose(GTK_CONTAINER(tabstrip_.get()),
1909 gtk_container_propagate_expose(GTK_CONTAINER(tabstrip_.get()),
1918 gtk_container_propagate_expose(GTK_CONTAINER(tabstrip_.get()),
2022 bds.set_x(gtk_util::MirroredLeftPointForRect(tabstrip_.get(), bounds));
2024 gtk_fixed_move(GTK_FIXED(tabstrip_.get()), tab->widget(),
2063 gtk_fixed_put(GTK_FIXED(tabstrip_.get()), button->widget(), 0, 0);