Home | History | Annotate | Download | only in tabs

Lines Matching refs:tabstrip_

149       : tabstrip_(tabstrip),
205 tabstrip_->AnimationLayout(end_unselected_width_);
209 tabstrip_->FinishAnimation(this, layout_on_completion_);
241 tabstrip_->GetDesiredTabWidths(start_tab_count, start_mini_count,
254 tabstrip_->GenerateIdealBounds();
255 tabstrip_->GetDesiredTabWidths(end_tab_count, end_mini_count,
260 TabStripGtk* tabstrip_;
302 bool is_selected = tabstrip_->model()->active_index() == index;
304 if (index < tabstrip_->GetMiniTabCount()) {
322 if (tabstrip_->GetTabAt(index)->mini())
325 if (tabstrip_->GetTabAt(index)->IsActive()) {
376 TabGtk* tab = tabstrip_->GetTabAt(index);
399 if (tabstrip_->available_width_for_tabs_ != -1 &&
400 index_ != tabstrip_->GetTabCount() - 1) {
416 tabstrip_->RemoveTabAt(index_);
433 start_tab_a_bounds_(tabstrip_->GetIdealBounds(tab_b_index)),
434 start_tab_b_bounds_(tabstrip_->GetIdealBounds(tab_a_index)) {
435 tab_a_ = tabstrip_->GetTabAt(tab_a_index);
436 tab_b_ = tabstrip_->GetTabAt(tab_b_index);
453 tabstrip_->SetTabBounds(tab_a_, bounds);
461 tabstrip_->SetTabBounds(tab_b_, bounds);
500 tabstrip_->needs_resize_layout_ = false;
511 TabGtk* tab = tabstrip_->GetTabAt(index);
531 for (int i = 0; i < tabstrip_->GetTabCount(); ++i) {
532 TabGtk* current_tab = tabstrip_->GetTabAt(i);
560 tabstrip_->GetTabAt(index)->set_animating_mini_change(true);
572 TabGtk* tab = tabstrip_->GetTabAt(index);
644 tabstrip_->SetTabBounds(tab_, tab_bounds);
648 tabstrip_->needs_resize_layout_ = false;
680 TabGtk* tab = tabstrip_->GetTabAt(index);
737 tabstrip_.Destroy();
757 tabstrip_.Own(gtk_fixed_new());
758 ViewIDUtil::SetID(tabstrip_.get(), VIEW_ID_TAB_STRIP);
761 gtk_widget_set_size_request(tabstrip_.get(), 0,
763 gtk_widget_set_app_paintable(tabstrip_.get(), TRUE);
764 gtk_drag_dest_set(tabstrip_.get(), GTK_DEST_DEFAULT_ALL,
772 ui::SetDestTargetList(tabstrip_.get(), targets);
774 g_signal_connect(tabstrip_.get(), "map",
776 g_signal_connect(tabstrip_.get(), "expose-event",
778 g_signal_connect(tabstrip_.get(), "size-allocate",
780 g_signal_connect(tabstrip_.get(), "drag-motion",
782 g_signal_connect(tabstrip_.get(), "drag-drop",
784 g_signal_connect(tabstrip_.get(), "drag-leave",
786 g_signal_connect(tabstrip_.get(), "drag-data-received",
793 gtk_widget_show_all(tabstrip_.get());
795 bounds_ = GetInitialWidgetBounds(tabstrip_.get());
812 gtk_widget_show(tabstrip_.get());
816 gtk_widget_hide(tabstrip_.get());
851 gtk_widget_queue_draw(tabstrip_.get());
876 gtk_widget_queue_draw_area(tabstrip_.get(),
915 gtk_container_remove(GTK_CONTAINER(tabstrip_.get()), tab->widget());
1028 if (gtk_widget_get_parent(tab->widget()) != tabstrip_.get())
1029 gtk_fixed_put(GTK_FIXED(tabstrip_.get()), tab->widget(), 0, 0);
1410 gtk_container_remove(GTK_CONTAINER(tabstrip_.get()), removed->widget());
1485 bounds.set_x(gtk_util::MirroredLeftPointForRect(tabstrip_.get(), bounds));
1487 gtk_fixed_move(GTK_FIXED(tabstrip_.get()), newtab_button_->widget(),
1513 gtk_widget_get_allocation(tabstrip_.get(), &tabstrip_allocation);
1620 gtk_util::ConvertWidgetPointToScreen(tabstrip_.get(), &tabstrip_topleft);
1638 if (!gtk_widget_get_realized(tabstrip_.get())) {
1677 gfx::Rect bounds = tab->GetNonMirroredBounds(tabstrip_.get());
1685 gfx::Rect bounds = last_tab->GetNonMirroredBounds(tabstrip_.get());
1689 center_x = gtk_util::MirroredXCoordinate(tabstrip_.get(), center_x);
1694 gtk_util::ConvertWidgetPointToScreen(tabstrip_.get(), &drop_loc);
1711 x = gtk_util::MirroredXCoordinate(tabstrip_.get(), x);
1715 gfx::Rect bounds = tab->GetNonMirroredBounds(tabstrip_.get());
2076 gtk_container_propagate_expose(GTK_CONTAINER(tabstrip_.get()),
2088 gtk_container_propagate_expose(GTK_CONTAINER(tabstrip_.get()),
2097 gtk_container_propagate_expose(GTK_CONTAINER(tabstrip_.get()),
2218 bds.set_x(gtk_util::MirroredLeftPointForRect(tabstrip_.get(), bounds));
2220 gtk_fixed_move(GTK_FIXED(tabstrip_.get()), tab->widget(),
2249 GetTabAt(tabs_to_paint[i])->PaintFaviconArea(tabstrip_.get(), cr);
2268 gtk_fixed_put(GTK_FIXED(tabstrip_.get()), button->widget(), 0, 0);