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

12

/external/chromium_org/chrome/browser/ui/tabs/
H A Dtab_strip_model_unittest.cc445 TabStripModel tabstrip(&delegate, profile());
446 MockTabStripModelObserver observer(&tabstrip);
447 tabstrip.AddObserver(&observer);
449 EXPECT_TRUE(tabstrip.empty());
462 EXPECT_FALSE(tabstrip.ContainsIndex(0));
463 tabstrip.AppendWebContents(contents1, true);
464 EXPECT_TRUE(tabstrip.ContainsIndex(0));
465 EXPECT_EQ(1, tabstrip.count());
478 EXPECT_EQ("1", GetTabStripStateString(tabstrip));
484 tabstrip
758 GetInsertionIndex(TabStripModel* tabstrip) argument
763 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_org/chrome/browser/ui/views/frame/
H A Dimmersive_mode_controller_ash_unittest.cc105 // Test the layout and visibility of the tabstrip, toolbar and TopContainerView
110 TabStrip* tabstrip = browser_view()->tabstrip(); local
119 // By default, the tabstrip and toolbar should be visible.
120 EXPECT_TRUE(tabstrip->visible());
130 EXPECT_TRUE(tabstrip->visible());
131 EXPECT_TRUE(tabstrip->IsImmersiveStyle());
135 EXPECT_EQ(0, GetBoundsInWidget(tabstrip).y());
145 EXPECT_TRUE(tabstrip->visible());
146 EXPECT_FALSE(tabstrip
285 TabStrip* tabstrip = browser_view()->tabstrip(); local
[all...]
H A Dbrowser_root_view.cc36 if (tabstrip() && tabstrip()->visible()) {
48 if (!tabstrip() || !tabstrip()->visible())
64 tabstrip()->OnDragEntered(*mapped_event.get());
73 tabstrip()->OnDragEntered(*mapped_event.get());
76 return tabstrip()->OnDragUpdated(*mapped_event.get());
79 tabstrip()->OnDragExited();
87 tabstrip()->OnDragExited();
116 return tabstrip()
188 TabStrip* BrowserRootView::tabstrip() const { function in class:BrowserRootView
[all...]
H A Dbrowser_view_unittest.cc25 browser_view->frame()->GetBoundsForTabStrip(browser_view->tabstrip()));
62 TabStrip* tabstrip = browser_view()->tabstrip(); local
75 EXPECT_EQ(top_container, browser_view()->tabstrip()->parent());
93 EXPECT_EQ(expected_tabstrip_origin.x(), tabstrip->x());
94 EXPECT_EQ(expected_tabstrip_origin.y(), tabstrip->y());
97 tabstrip->bounds().bottom() -
136 tabstrip->bounds().bottom() +
186 // The tabstrip, toolbar and bookmark bar should not be visible for hosted
188 EXPECT_FALSE(browser_view()->tabstrip()
[all...]
H A Dbrowser_non_client_frame_view_ash.cc49 // The avatar ends 2 px above the bottom of the tabstrip (which, given the
50 // way the tabstrip draws its bottom edge, will appear like a 1 px gap to the
54 // it on the left, and between it and the tabstrip on the right).
56 // Space between left edge of window and tabstrip.
58 // Space between right edge of tabstrip and maximize button.
62 // Space between top of window and top of tabstrip for tall headers, such as
65 // Space between top of window and top of tabstrip for short headers, such as
168 views::View* tabstrip) const {
169 if (!tabstrip)
182 tabstrip
453 TabStrip* tabstrip = browser_view()->tabstrip(); local
[all...]
H A Dbrowser_non_client_frame_view.h32 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const = 0;
H A Dbrowser_root_view.h18 // the TabStrip. Visually the tabstrip extends to the top of the frame, but in
19 // actually it doesn't. The tabstrip is only as high as a tab. To enable
20 // dropping above the tabstrip BrowserRootView forwards drop events to the
47 // Returns true if the event should be forwarded to the tabstrip.
56 inline TabStrip* tabstrip() const;
H A Dglass_browser_frame_view.h26 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
H A Dopaque_browser_frame_view.cc169 views::View* tabstrip) const {
170 if (!tabstrip)
173 return layout_->GetBoundsForTabStrip(tabstrip->GetPreferredSize(), width());
222 // See if we're in the sysmenu region. We still have to check the tabstrip
452 gfx::Size s = browser_view()->tabstrip()->GetPreferredSize();
503 // Otherwise, claim |rect| only if it is above the bottom of the tabstrip in
505 TabStrip* tabstrip = browser_view()->tabstrip();
506 if (!tabstrip || !browser_view()->IsTabStripVisible())
510 View::ConvertRectToTarget(this, tabstrip,
[all...]
H A Dglass_browser_frame_view.cc49 // The avatar ends 2 px above the bottom of the tabstrip (which, given the
50 // way the tabstrip draws its bottom edge, will appear like a 1 px gap to the
55 // Space between the right edge of the avatar and the tabstrip.
61 // The top 3 px of the tabstrip is shadow; in maximized mode we push this off
72 // How far to indent the tabstrip from the left side of the screen when there
107 views::View* tabstrip) const {
149 tabstrip->GetPreferredSize().height());
184 TabStrip* tabstrip = browser_view()->tabstrip(); local
185 int min_tabstrip_width = tabstrip
[all...]
H A Dbrowser_frame.h62 gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const;
H A Dbrowser_non_client_frame_view_ash.h43 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
H A Dbrowser_frame.cc164 gfx::Rect BrowserFrame::GetBoundsForTabStrip(views::View* tabstrip) const {
167 browser_frame_view_->GetBoundsForTabStrip(tabstrip) : gfx::Rect();
258 // - HTCAPTION: in title bar or unobscured part of tabstrip
H A Dimmersive_mode_controller_ash.cc160 if (show_tab_indicators != browser_view_->tabstrip()->IsImmersiveStyle()) {
161 browser_view_->tabstrip()->SetImmersiveStyle(show_tab_indicators);
H A Dopaque_browser_frame_view.h44 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
H A Dbrowser_desktop_window_tree_host_win.cc313 browser_frame_->GetBoundsForTabStrip(browser_view_->tabstrip()));
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dtab_drag_controller.h53 // What should happen as the mouse is dragged within the tabstrip.
69 // Amount above or below the tabstrip the user has to drag before detaching.
118 // Returns true if we've detached from a tabstrip and are running a nested
244 // Invoked once a drag has started to determine the appropriate tabstrip to
255 // Handles dragging for a touch tabstrip when the tabs are stacked. Doesn't
281 // Returns true if |tabstrip| contains the specified point in screen
283 bool DoesTabStripContain(TabStrip* tabstrip,
333 // Used by GetInsertionIndexForDraggedBounds() when the tabstrip is stacked.
348 std::vector<Tab*> GetTabsMatchingDraggedContents(TabStrip* tabstrip);
378 gfx::Rect GetViewScreenBounds(views::View* tabstrip) cons
[all...]
H A Dbrowser_tab_strip_controller.h37 void InitFromModel(TabStrip* tabstrip);
121 const TabStrip* tabstrip() const { return tabstrip_; } function in class:BrowserTabStripController
144 // Notifies the tabstrip whether |url| is supported once a MIME type request
163 // top-of-window views to be revealed when the user is dragging |tabstrip|'s
H A Dtab_drag_controller.cc711 // While dragging within a tabstrip the expectation is the insertion index
713 // into a new tabstrip (attaching) the expectation is the insertion index is
752 // tabs). Make sure the tabstrip actually changed before updating
849 TabStrip* other_tabstrip = browser_view->tabstrip();
859 TabStrip* tabstrip,
862 // specified tabstrip...
863 gfx::Rect tabstrip_bounds = GetViewScreenBounds(tabstrip);
885 // Transitioning from detached to attached to a new tabstrip. Add tabs to
943 // Transfer ownership of us to the new tabstrip as well as making sure the
1040 Attach(dragged_browser_view->tabstrip(), gf
858 DoesTabStripContain( TabStrip* tabstrip, const gfx::Point& point_in_screen) const argument
1306 GetTabsMatchingDraggedContents( TabStrip* tabstrip) argument
[all...]
H A Dbrowser_tab_strip_controller.cc200 // cancel the menu, otherwise it may try to invoke something on the tabstrip
208 void BrowserTabStripController::InitFromModel(TabStrip* tabstrip) { argument
209 tabstrip_ = tabstrip;
405 // revealed if the user is attempting to attach a tab to a tabstrip
/external/chromium_org/chrome/browser/ui/views/ash/
H A Dtab_scrubber.cc101 TabStrip* tab_strip = browser_view->tabstrip();
270 TabStrip* tab_strip = browser_view->tabstrip();
/external/chromium_org/chrome/browser/extensions/api/tabs/
H A Dtabs_api.h137 bool HighlightTab(TabStripModel* tabstrip,
H A Dtabs_api.cc1046 TabStripModel* tabstrip = browser->tab_strip_model();
1054 if (!HighlightTab(tabstrip, &selection, &active_index, tab_indices[i]))
1059 if (!HighlightTab(tabstrip,
1080 bool TabsHighlightFunction::HighlightTab(TabStripModel* tabstrip, argument
1085 if (!tabstrip->ContainsIndex(index)) {

Completed in 419 milliseconds

12