Home
last modified time | relevance | path

Searched refs:tabstrip_ (Results 1 – 15 of 15) sorted by relevance

/external/chromium/chrome/browser/tabs/
Dtab_strip_model_order_controller.cc14 : tabstrip_(tabstrip), in TabStripModelOrderController()
16 tabstrip_->AddObserver(this); in TabStripModelOrderController()
20 tabstrip_->RemoveObserver(this); in ~TabStripModelOrderController()
27 int tab_count = tabstrip_->count(); in DetermineInsertionIndex()
33 if (transition == PageTransition::LINK && tabstrip_->active_index() != -1) { in DetermineInsertionIndex()
38 return tabstrip_->active_index() + delta; in DetermineInsertionIndex()
41 &tabstrip_->GetSelectedTabContents()->controller(); in DetermineInsertionIndex()
46 index = tabstrip_->GetIndexOfLastTabContentsOpenedBy( in DetermineInsertionIndex()
47 opener, tabstrip_->active_index()); in DetermineInsertionIndex()
49 index = tabstrip_->GetIndexOfFirstTabContentsOpenedBy( in DetermineInsertionIndex()
[all …]
Dtab_strip_model_order_controller.h57 TabStripModel* tabstrip_; variable
/external/chromium/chrome/browser/ui/views/tabs/
Dbrowser_tab_strip_controller.cc42 controller->tabstrip_->GetModelIndexOfBaseTab(tab))), in TabContextMenuContents()
51 controller_->tabstrip_->StopAllHighlighting(); in ~TabContextMenuContents()
80 controller_->tabstrip_->GetWidget()->GetAccelerator(browser_cmd, in GetAcceleratorForCommandId()
93 controller_->tabstrip_->StopAllHighlighting(); in ExecuteCommand()
101 controller_->tabstrip_->StopAllHighlighting(); in MenuClosed()
131 tabstrip_(NULL), in BrowserTabStripController()
151 tabstrip_ = tabstrip; in InitFromModel()
161 int model_index = tabstrip_->GetModelIndexOfBaseTab(tab); in IsCommandEnabledForTab()
169 int model_index = tabstrip_->GetModelIndexOfBaseTab(tab); in IsCommandCheckedForTab()
177 int model_index = tabstrip_->GetModelIndexOfBaseTab(tab); in ExecuteCommandForTab()
[all …]
Dbase_tab_strip.cc50 : tabstrip_(tab_strip), in RemoveTabDelegate()
76 tabstrip_->RemoveAndDeleteTab(tab_); in CompleteRemove()
84 if (tabstrip_->IsDragSessionActive() || in HighlightCloseButton()
85 !tabstrip_->ShouldHighlightCloseButtonAfterRemove()) { in HighlightCloseButton()
92 views::Widget* widget = tabstrip_->GetWidget(); in HighlightCloseButton()
112 BaseTabStrip* tabstrip_; member in BaseTabStrip::RemoveTabDelegate
Dbrowser_tab_strip_controller.h119 BaseTabStrip* tabstrip_; variable
/external/chromium/chrome/browser/ui/gtk/tabs/
Dtab_strip_gtk.cc125 : tabstrip_(tabstrip), in TabAnimation()
181 tabstrip_->AnimationLayout(end_unselected_width_); in AnimationProgressed()
185 tabstrip_->FinishAnimation(this, layout_on_completion_); in AnimationEnded()
217 tabstrip_->GetDesiredTabWidths(start_tab_count, start_mini_count, in GenerateStartAndEndWidths()
230 tabstrip_->GenerateIdealBounds(); in GenerateStartAndEndWidths()
231 tabstrip_->GetDesiredTabWidths(end_tab_count, end_mini_count, in GenerateStartAndEndWidths()
236 TabStripGtk* tabstrip_; member in TabStripGtk::TabAnimation
278 bool is_selected = tabstrip_->model()->active_index() == index; in GetWidthForTab()
280 if (index < tabstrip_->GetMiniTabCount()) { in GetWidthForTab()
298 if (tabstrip_->GetTabAt(index)->mini()) in GetWidthForTab()
[all …]
Dtab_strip_gtk.h52 GtkWidget* widget() const { return tabstrip_.get(); } in widget()
425 OwnedWidgetGtk tabstrip_; variable
Ddragged_tab_controller_gtk.cc323 gtk_util::GetWidgetScreenBounds(tabstrip->tabstrip_.get()); in GetTabStripIfItContains()
440 gtk_util::GetWidgetScreenPosition(tabstrip->tabstrip_.get()); in ConvertScreenPointToTabStripPoint()
513 gtk_util::GetWidgetScreenBounds(attached_tabstrip_->tabstrip_.get()); in GetDraggedTabPoint()
/external/chromium/chrome/browser/ui/views/frame/
Dbrowser_view_layout.cc44 : tabstrip_(NULL), in BrowserViewLayout()
63 tabstrip_->GetMinimumSize() : gfx::Size()); in GetMinimumSize()
125 views::View::ConvertPointToView(browser_view_, tabstrip_, &tabstrip_point); in IsPositionInWindowCaption()
126 return tabstrip_->IsPositionInWindowCaption(tabstrip_point); in IsPositionInWindowCaption()
147 views::View::ConvertPointToView(parent, tabstrip_, in NonClientHitTest()
149 if (tabstrip_->HitTest(point_in_tabstrip_coords)) { in NonClientHitTest()
150 if (tabstrip_->IsPositionInWindowCaption(point_in_tabstrip_coords)) in NonClientHitTest()
160 (tabstrip_->y() + kTabShadowSize))) { in NonClientHitTest()
206 tabstrip_ = NULL; in Installed()
235 tabstrip_ = static_cast<AbstractTabStripView*>(view); in ViewAdded()
[all …]
Dbrowser_view.cc301 tabstrip_(NULL), in BrowserView()
346 if (tabstrip_) { in ~BrowserView()
347 tabstrip_->parent()->RemoveChildView(tabstrip_); in ~BrowserView()
348 delete tabstrip_; in ~BrowserView()
349 tabstrip_ = NULL; in ~BrowserView()
382 toolbar_bounds.Inset(tabstrip_->x() - toolbar_bounds.x(), 0, 0, 0); in GetToolbarBounds()
404 return IsTabStripVisible() ? tabstrip_->GetPreferredSize().height() : 0; in GetTabStripHeight()
901 return tabstrip_->IsTabStripEditable(); in IsTabStripEditable()
1561 if (tabstrip_ && !tabstrip_->IsTabStripCloseable())
1730 scoped_ptr<AbstractTabStripView> old_strip(tabstrip_);
[all …]
Dbrowser_view_layout.h110 AbstractTabStripView* tabstrip_; variable
Dbrowser_view.h136 AbstractTabStripView* tabstrip() const { return tabstrip_; } in tabstrip()
580 AbstractTabStripView* tabstrip_; variable
/external/chromium/chrome/browser/chromeos/frame/
Dbrowser_view.cc92 tabstrip_->SetVisible(false); in LayoutTabStrip()
93 tabstrip_->SetBounds(0, 0, 0, 0); in LayoutTabStrip()
98 browser_view_->frame()->GetBoundsForTabStrip(tabstrip_)); in LayoutTabStrip()
156 tabstrip_->SetVisible(true); in LayoutTitlebarComponentsWithVerticalTabs()
170 tabstrip_->GetPreferredSize().width()); in LayoutTitlebarComponentsWithVerticalTabs()
171 tabstrip_->SetBounds(bounds.x(), bounds.y(), tabstrip_w, in LayoutTitlebarComponentsWithVerticalTabs()
181 int tabstrip_max_x = tabstrip_->bounds().right(); in LayoutTitlebarComponentsWithVerticalTabs()
200 tabstrip_->SetVisible(true); in LayoutTitlebarComponents()
210 tabstrip_->SetBounds(bounds.x(), bounds.y(), in LayoutTitlebarComponents()
/external/chromium/chrome/browser/ui/gtk/
Dbrowser_window_gtk.h153 TabStripGtk* tabstrip() const { return tabstrip_.get(); } in tabstrip()
464 scoped_ptr<TabStripGtk> tabstrip_; variable
Dbrowser_window_gtk.cc664 tabstrip_->StopAnimation(); in Close()
772 tabstrip_->UpdateLoadingAnimations(); in LoadingAnimationCallback()
1369 tabstrip_->Hide(); in OnWindowState()
1433 if (tabstrip_->IsDragSessionActive()) in CanClose()
1611 tabstrip_.reset(new TabStripGtk(browser_->tabstrip_model(), this)); in InitWidgets()
1612 tabstrip_->Init(); in InitWidgets()
1700 tabstrip_.get())); in InitWidgets()
2197 tabstrip_->Show(); in ShowSupportedWindowFeatures()
2211 tabstrip_->Hide(); in HideUnsupportedWindowFeatures()