Searched refs:tabstrip (Results 1 - 25 of 75) sorted by relevance

123

/external/chromium/chrome/browser/ui/views/tabs/
H A Dtab_strip_factory.cc19 // Ownership of this controller is given to a specific tabstrip when we
22 BaseTabStrip* tabstrip = NULL; local
25 tabstrip = new SideTabStrip(tabstrip_controller);
27 tabstrip = new TabStrip(tabstrip_controller);
28 parent->AddChildView(tabstrip);
29 tabstrip_controller->InitFromModel(tabstrip);
30 return tabstrip;
/external/chromium/chrome/browser/ui/touch/tabs/
H A Dtab_strip_factory.cc19 // Ownership of this controller is given to a specific tabstrip when we
22 TouchTabStrip* tabstrip = new TouchTabStrip(tabstrip_controller); local
23 parent->AddChildView(tabstrip);
24 tabstrip_controller->InitFromModel(tabstrip);
25 return tabstrip;
/external/chromium_org/chrome/browser/ui/tabs/
H A Dtab_strip_model_unittest.cc358 TabStripModel tabstrip(&delegate, profile());
359 MockTabStripModelObserver observer(&tabstrip);
360 tabstrip.AddObserver(&observer);
362 EXPECT_TRUE(tabstrip.empty());
375 EXPECT_FALSE(tabstrip.ContainsIndex(0));
376 tabstrip.AppendWebContents(contents1, true);
377 EXPECT_TRUE(tabstrip.ContainsIndex(0));
378 EXPECT_EQ(1, tabstrip.count());
391 EXPECT_EQ("1", GetTabStripStateString(tabstrip));
397 tabstrip
664 GetInsertionIndex(TabStripModel* tabstrip) argument
669 InsertWebContentses(TabStripModel* tabstrip, WebContents* contents1, WebContents* contents2, WebContents* contents3) argument
[all...]
H A Dtab_strip_model_order_controller.h19 explicit TabStripModelOrderController(TabStripModel* tabstrip);
H A Dtab_strip_model_order_controller.cc13 TabStripModel* tabstrip)
14 : tabstrip_(tabstrip) {
12 TabStripModelOrderController( TabStripModel* tabstrip) argument
/external/chromium/chrome/browser/tabs/
H A Dtab_strip_model_unittest.cc401 TabStripModel tabstrip(&delegate, profile());
403 tabstrip.AddObserver(&observer);
405 EXPECT_TRUE(tabstrip.empty());
417 EXPECT_FALSE(tabstrip.ContainsIndex(0));
418 tabstrip.AppendTabContents(contents1, true);
419 EXPECT_TRUE(tabstrip.ContainsIndex(0));
420 EXPECT_EQ(1, tabstrip.count());
434 tabstrip.InsertTabContentsAt(1, contents2, TabStripModel::ADD_ACTIVE);
436 EXPECT_EQ(2, tabstrip.count());
450 tabstrip
657 GetInsertionIndex(TabStripModel* tabstrip, TabContentsWrapper* contents) argument
663 InsertTabContentses(TabStripModel* tabstrip, TabContentsWrapper* contents1, TabContentsWrapper* contents2, TabContentsWrapper* contents3) argument
[all...]
H A Dtab_strip_model_order_controller.h22 explicit TabStripModelOrderController(TabStripModel* tabstrip);
H A Dtab_strip_model_order_controller.cc13 TabStripModel* tabstrip)
14 : tabstrip_(tabstrip),
12 TabStripModelOrderController( TabStripModel* tabstrip) argument
/external/chromium/chrome/browser/ui/views/frame/
H A Dbrowser_root_view.cc31 if (tabstrip() && tabstrip()->IsVisible()) {
43 if (!tabstrip() || !tabstrip()->IsVisible())
59 tabstrip()->OnDragEntered(*mapped_event.get());
68 tabstrip()->OnDragEntered(*mapped_event.get());
71 return tabstrip()->OnDragUpdated(*mapped_event.get());
74 tabstrip()->OnDragExited();
82 tabstrip()->OnDragExited();
109 return tabstrip()
139 AbstractTabStripView* BrowserRootView::tabstrip() const { function in class:BrowserRootView
[all...]
H A Dpopup_non_client_frame_view.cc50 views::View* tabstrip) const {
51 return gfx::Rect(0, 0, width(), tabstrip->GetPreferredSize().height());
H A Dbrowser_non_client_frame_view.h22 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const = 0;
H A Dbrowser_frame.cc30 gfx::Rect BrowserFrame::GetBoundsForTabStrip(views::View* tabstrip) const {
31 return browser_frame_view_->GetBoundsForTabStrip(tabstrip);
H A Dpopup_non_client_frame_view.h32 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
H A Dbrowser_frame.h57 gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const;
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dbrowser_root_view.cc38 if (tabstrip() && tabstrip()->visible()) {
50 if (!tabstrip() || !tabstrip()->visible())
66 tabstrip()->OnDragEntered(*mapped_event.get());
75 tabstrip()->OnDragEntered(*mapped_event.get());
78 return tabstrip()->OnDragUpdated(*mapped_event.get());
81 tabstrip()->OnDragExited();
89 tabstrip()->OnDragExited();
116 return tabstrip()
154 TabStrip* BrowserRootView::tabstrip() const { function in class:BrowserRootView
[all...]
H A Dpopup_non_client_frame_view.cc45 views::View* tabstrip) const {
46 return gfx::Rect(0, 0, width(), tabstrip->GetPreferredSize().height());
H A Dpopup_non_client_frame_view.h29 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
H A Dbrowser_non_client_frame_view_ash.cc44 // The avatar ends 2 px above the bottom of the tabstrip (which, given the
45 // way the tabstrip draws its bottom edge, will appear like a 1 px gap to the
49 // it on the left, and between it and the tabstrip on the right).
51 // Space between left edge of window and tabstrip.
53 // Space between right edge of tabstrip and maximize button.
57 // Space between top of window and top of tabstrip for tall headers, such as
60 // Space between top of window and top of tabstrip for short headers, such as
123 views::View* tabstrip) const {
124 if (!tabstrip)
135 tabstrip
[all...]
H A Dbrowser_view_unittest.cc48 browser_view->frame()->GetBoundsForTabStrip(browser_view->tabstrip()));
178 TabStrip* tabstrip = browser_view()->tabstrip(); local
189 EXPECT_EQ(top_container, browser_view()->tabstrip()->parent());
207 EXPECT_EQ(expected_tabstrip_origin.x(), tabstrip->x());
208 EXPECT_EQ(expected_tabstrip_origin.y(), tabstrip->y());
211 tabstrip->bounds().bottom() -
247 tabstrip->bounds().bottom() +
H A Dopaque_browser_frame_view.cc87 // The avatar ends 2 px above the bottom of the tabstrip (which, given the
88 // way the tabstrip draws its bottom edge, will appear like a 1 px gap to the
93 // Space between the right edge of the avatar and the tabstrip.
95 // The top 3 px of the tabstrip is shadow; in maximized mode we push this off
106 // How far to indent the tabstrip from the left side of the screen when there
233 views::View* tabstrip) const {
234 if (!tabstrip)
237 gfx::Rect bounds = GetBoundsForTabStripAndAvatarArea(tabstrip);
241 // Space between the right edge of the avatar label and the tabstrip.
297 TabStrip* tabstrip local
[all...]
/external/chromium_org/chrome/browser/ui/gtk/tabs/
H A Ddragged_tab_controller_gtk.h32 // |source_tabstrip| is the tabstrip where the tabs reside before any
127 // Returns the specified |tabstrip| if it contains the specified point
129 TabStripGtk* GetTabStripIfItContains(TabStripGtk* tabstrip,
139 gfx::Point ConvertScreenPointToTabStripPoint(TabStripGtk* tabstrip,
157 TabGtk* GetTabMatchingDraggedContents(TabStripGtk* tabstrip,
162 std::vector<TabGtk*> GetTabsMatchingDraggedContents(TabStripGtk* tabstrip);
254 // DockInfo for the tabstrip.
H A Dtab_strip_gtk.cc67 // The delay between when the mouse leaves the tabstrip and the resize animation
75 // The range outside of the tabstrip where the pointer must enter/leave to
148 TabAnimation(TabStripGtk* tabstrip, Type type) argument
149 : tabstrip_(tabstrip),
181 static double GetCurrentTabWidth(TabStripGtk* tabstrip, argument
184 TabGtk* tab = tabstrip->GetTabAt(index);
190 tabstrip->GetCurrentTabWidths(&unselected, &selected);
285 InsertTabAnimation(TabStripGtk* tabstrip, int index) argument
286 : TabAnimation(tabstrip, INSERT),
288 int tab_count = tabstrip
345 RemoveTabAnimation(TabStripGtk* tabstrip, int index, WebContents* contents) argument
431 MoveTabAnimation(TabStripGtk* tabstrip, int tab_a_index, int tab_b_index) argument
488 ResizeLayoutAnimation(TabStripGtk* tabstrip) argument
550 MiniTabAnimation(TabStripGtk* tabstrip, int index) argument
610 MiniMoveAnimation(TabStripGtk* tabstrip, int from_index, int to_index, const gfx::Rect& start_bounds) argument
[all...]
/external/chromium/chrome/browser/ui/gtk/tabs/
H A Ddragged_tab_controller_gtk.cc31 // How far a drag must pull a tab out of the tabstrip in order to detach it.
77 // attached to the source tabstrip.
311 TabStripGtk* other_tabstrip = browser->tabstrip();
319 TabStripGtk* tabstrip, const gfx::Point& screen_point) const {
321 // specified tabstrip...
323 gtk_util::GetWidgetScreenBounds(tabstrip->tabstrip_.get());
332 return tabstrip;
351 // to the source tabstrip, and we should assume the tab count already
354 // tabstrip.
378 // We need to ask the tabstrip w
318 GetTabStripIfItContains( TabStripGtk* tabstrip, const gfx::Point& screen_point) const argument
437 ConvertScreenPointToTabStripPoint( TabStripGtk* tabstrip, const gfx::Point& screen_point) argument
726 GtkWidget* tabstrip = source_tabstrip_->widget(); local
732 GtkWidget* tabstrip = source_tabstrip_->widget(); local
[all...]
H A Ddragged_tab_controller_gtk.h120 // Returns the specified |tabstrip| if it contains the specified point
122 TabStripGtk* GetTabStripIfItContains(TabStripGtk* tabstrip,
132 gfx::Point ConvertScreenPointToTabStripPoint(TabStripGtk* tabstrip,
151 TabGtk* GetTabMatchingDraggedContents(TabStripGtk* tabstrip) const;
250 // DockInfo for the tabstrip.
H A Dtab_strip_gtk.cc49 // The delay between when the mouse leaves the tabstrip and the resize animation
53 // The range outside of the tabstrip where the pointer must enter/leave to
124 TabAnimation(TabStripGtk* tabstrip, Type type) argument
125 : tabstrip_(tabstrip),
157 static double GetCurrentTabWidth(TabStripGtk* tabstrip, argument
160 TabGtk* tab = tabstrip->GetTabAt(index);
166 tabstrip->GetCurrentTabWidths(&unselected, &selected);
261 explicit InsertTabAnimation(TabStripGtk* tabstrip, int index) argument
262 : TabAnimation(tabstrip, INSERT),
264 int tab_count = tabstrip
321 RemoveTabAnimation(TabStripGtk* tabstrip, int index, TabContents* contents) argument
407 MoveTabAnimation(TabStripGtk* tabstrip, int tab_a_index, int tab_b_index) argument
462 ResizeLayoutAnimation(TabStripGtk* tabstrip) argument
524 MiniTabAnimation(TabStripGtk* tabstrip, int index) argument
584 MiniMoveAnimation(TabStripGtk* tabstrip, int from_index, int to_index, const gfx::Rect& start_bounds) argument
[all...]

Completed in 262 milliseconds

123