Home
last modified time | relevance | path

Searched refs:tabstrip (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium/chrome/browser/tabs/
Dtab_strip_model_unittest.cc401 TabStripModel tabstrip(&delegate, profile()); in TEST_F() local
403 tabstrip.AddObserver(&observer); in TEST_F()
405 EXPECT_TRUE(tabstrip.empty()); in TEST_F()
417 EXPECT_FALSE(tabstrip.ContainsIndex(0)); in TEST_F()
418 tabstrip.AppendTabContents(contents1, true); in TEST_F()
419 EXPECT_TRUE(tabstrip.ContainsIndex(0)); in TEST_F()
420 EXPECT_EQ(1, tabstrip.count()); in TEST_F()
434 tabstrip.InsertTabContentsAt(1, contents2, TabStripModel::ADD_ACTIVE); in TEST_F()
436 EXPECT_EQ(2, tabstrip.count()); in TEST_F()
450 tabstrip.InsertTabContentsAt(2, contents3, TabStripModel::ADD_NONE); in TEST_F()
[all …]
Dtab_strip_model_order_controller.cc13 TabStripModel* tabstrip) in TabStripModelOrderController() argument
14 : tabstrip_(tabstrip), in TabStripModelOrderController()
Dtab_strip_model_order_controller.h22 explicit TabStripModelOrderController(TabStripModel* tabstrip);
/external/chromium/chrome/browser/ui/views/frame/
Dbrowser_root_view.cc31 if (tabstrip() && tabstrip()->IsVisible()) { in GetDropFormats()
43 if (!tabstrip() || !tabstrip()->IsVisible()) in CanDrop()
59 tabstrip()->OnDragEntered(*mapped_event.get()); in OnDragEntered()
68 tabstrip()->OnDragEntered(*mapped_event.get()); in OnDragUpdated()
71 return tabstrip()->OnDragUpdated(*mapped_event.get()); in OnDragUpdated()
74 tabstrip()->OnDragExited(); in OnDragUpdated()
82 tabstrip()->OnDragExited(); in OnDragExited()
109 return tabstrip()->OnPerformDrop(*mapped_event); in OnPerformDrop()
119 if (!tabstrip()->IsVisible()) in ShouldForwardToTabStrip()
125 ConvertPointToView(tabstrip(), this, &tab_loc_in_host); in ShouldForwardToTabStrip()
[all …]
Dpopup_non_client_frame_view.cc50 views::View* tabstrip) const { in GetBoundsForTabStrip()
51 return gfx::Rect(0, 0, width(), tabstrip->GetPreferredSize().height()); in GetBoundsForTabStrip()
Dbrowser_frame.cc30 gfx::Rect BrowserFrame::GetBoundsForTabStrip(views::View* tabstrip) const { in GetBoundsForTabStrip()
31 return browser_frame_view_->GetBoundsForTabStrip(tabstrip); in GetBoundsForTabStrip()
Dbrowser_non_client_frame_view.h22 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const = 0;
Dpopup_non_client_frame_view.h32 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
Dbrowser_root_view.h50 inline AbstractTabStripView* tabstrip() const;
Dbrowser_frame.h57 gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const;
Dglass_browser_frame_view.cc113 views::View* tabstrip) const { in GetBoundsForTabStrip()
115 gfx::Size ps = tabstrip->GetPreferredSize(); in GetBoundsForTabStrip()
146 tabstrip->GetPreferredSize().height()); in GetBoundsForTabStrip()
325 gfx::Point tabstrip_origin(browser_view_->tabstrip()->bounds().origin()); in PaintToolbarBackground()
Dopaque_browser_frame_view.cc224 views::View* tabstrip) const { in GetBoundsForTabStrip()
225 if (!tabstrip) in GetBoundsForTabStrip()
229 gfx::Size ps = tabstrip->GetPreferredSize(); in GetBoundsForTabStrip()
243 std::max(0, tabstrip_width), tabstrip->GetPreferredSize().height()); in GetBoundsForTabStrip()
412 if (!browser_view_->tabstrip()) in HitTest()
414 gfx::Rect tabstrip_bounds(browser_view_->tabstrip()->bounds()); in HitTest()
769 gfx::Point tabstrip_origin(browser_view_->tabstrip()->bounds().origin()); in PaintToolbarBackground()
Dapp_panel_browser_frame_view.h36 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
Dglass_browser_frame_view.h35 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
/external/chromium/chrome/browser/ui/views/tabs/
Dtab_strip_factory.cc22 BaseTabStrip* tabstrip = NULL; in CreateTabStrip() local
25 tabstrip = new SideTabStrip(tabstrip_controller); in CreateTabStrip()
27 tabstrip = new TabStrip(tabstrip_controller); in CreateTabStrip()
28 parent->AddChildView(tabstrip); in CreateTabStrip()
29 tabstrip_controller->InitFromModel(tabstrip); in CreateTabStrip()
30 return tabstrip; in CreateTabStrip()
Ddragged_tab_controller.h206 BaseTabStrip* GetTabStripIfItContains(BaseTabStrip* tabstrip,
233 std::vector<BaseTab*> GetTabsMatchingDraggedContents(BaseTabStrip* tabstrip);
264 gfx::Rect GetViewScreenBounds(views::View* tabstrip) const;
293 TabStripModel* GetModel(BaseTabStrip* tabstrip) const;
Ddragged_tab_controller.cc181 int MajorAxisValue(const gfx::Point& point, BaseTabStrip* tabstrip) { in MajorAxisValue() argument
182 return (tabstrip->type() == BaseTabStrip::HORIZONTAL_TAB_STRIP) ? in MajorAxisValue()
817 static_cast<BaseTabStrip*>(browser->tabstrip()); in GetTabStripForPoint()
825 BaseTabStrip* tabstrip, in GetTabStripIfItContains() argument
831 gfx::Rect tabstrip_bounds = GetViewScreenBounds(tabstrip); in GetTabStripIfItContains()
832 if (tabstrip->type() == BaseTabStrip::HORIZONTAL_TAB_STRIP) { in GetTabStripIfItContains()
841 return tabstrip; in GetTabStripIfItContains()
852 return tabstrip; in GetTabStripIfItContains()
1092 BaseTabStrip* tabstrip) { in GetTabsMatchingDraggedContents() argument
1099 tabs.push_back(tabstrip->GetBaseTabAtModelIndex(model_index)); in GetTabsMatchingDraggedContents()
[all …]
/external/chromium/chrome/browser/ui/touch/tabs/
Dtab_strip_factory.cc22 TouchTabStrip* tabstrip = new TouchTabStrip(tabstrip_controller); in CreateTabStrip() local
23 parent->AddChildView(tabstrip); in CreateTabStrip()
24 tabstrip_controller->InitFromModel(tabstrip); in CreateTabStrip()
25 return tabstrip; in CreateTabStrip()
/external/chromium/chrome/browser/ui/gtk/tabs/
Dtab_strip_gtk.cc124 TabAnimation(TabStripGtk* tabstrip, Type type) in TabAnimation() argument
125 : tabstrip_(tabstrip), in TabAnimation()
157 static double GetCurrentTabWidth(TabStripGtk* tabstrip, in GetCurrentTabWidth() argument
160 TabGtk* tab = tabstrip->GetTabAt(index); in GetCurrentTabWidth()
166 tabstrip->GetCurrentTabWidths(&unselected, &selected); in GetCurrentTabWidth()
261 explicit InsertTabAnimation(TabStripGtk* tabstrip, int index) in InsertTabAnimation() argument
262 : TabAnimation(tabstrip, INSERT), in InsertTabAnimation()
264 int tab_count = tabstrip->GetTabCount(); in InsertTabAnimation()
265 int end_mini_count = tabstrip->GetMiniTabCount(); in InsertTabAnimation()
321 RemoveTabAnimation(TabStripGtk* tabstrip, int index, TabContents* contents) in RemoveTabAnimation() argument
[all …]
Ddragged_tab_controller_gtk.cc311 TabStripGtk* other_tabstrip = browser->tabstrip(); in GetTabStripForPoint()
319 TabStripGtk* tabstrip, const gfx::Point& screen_point) const { in GetTabStripIfItContains() argument
323 gtk_util::GetWidgetScreenBounds(tabstrip->tabstrip_.get()); in GetTabStripIfItContains()
332 return tabstrip; in GetTabStripIfItContains()
438 TabStripGtk* tabstrip, const gfx::Point& screen_point) { in ConvertScreenPointToTabStripPoint() argument
440 gtk_util::GetWidgetScreenPosition(tabstrip->tabstrip_.get()); in ConvertScreenPointToTabStripPoint()
558 TabStripGtk* tabstrip) const { in GetTabMatchingDraggedContents()
559 int index = tabstrip->model()->GetIndexOfTabContents(dragged_contents_); in GetTabMatchingDraggedContents()
560 return index == TabStripModel::kNoTab ? NULL : tabstrip->GetTabAt(index); in GetTabMatchingDraggedContents()
726 GtkWidget* tabstrip = source_tabstrip_->widget(); in HideWindow() local
[all …]
Ddragged_tab_controller_gtk.h122 TabStripGtk* GetTabStripIfItContains(TabStripGtk* tabstrip,
132 gfx::Point ConvertScreenPointToTabStripPoint(TabStripGtk* tabstrip,
151 TabGtk* GetTabMatchingDraggedContents(TabStripGtk* tabstrip) const;
/external/chromium/chrome/browser/ui/cocoa/
Dbrowser_window_controller_unittest.mm174 // completely fill the area under the tabstrip.
177 NSRect tabstrip = [[controller tabStripView] frame];
198 // Toolbar should start immediately under the tabstrip, but the tabstrip is
200 EXPECT_EQ(NSMinY(tabstrip), NSMaxY(toolbar));
332 TabStripView* tabstrip = [controller_ tabStripView];
333 NSView* contentView = [[tabstrip window] contentView];
341 NSRect tabstripFrame = [tabstrip frame];
343 [tabstrip setFrame:tabstripFrame];
380 TabStripView* tabstrip = [controller_ tabStripView];
381 NSView* contentView = [[tabstrip window] contentView];
[all …]
Dframed_browser_window_unittest.mm103 // First without tabstrip.
126 // Then with a tabstrip.
/external/chromium/chrome/browser/ui/window_snapshot/
Dwindow_snapshot_mac.mm21 // tabstrip.
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dextension_installed_bubble_controller_unittest.mm134 // Initialize window without having to calculate tabstrip locations.
177 // Initialize window without having to calculate tabstrip locations.

12