/external/chromium/chrome/browser/ui/views/tabs/ |
tab_strip_factory.cc | 11 // This default implementation of CreateTabStrip creates a TabStrip or a 19 // 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;
|
dragged_tab_controller.h | 36 // TabStrip. This object is created whenever the mouse is pressed down on a 198 // Returns the compatible TabStrip that is under the specified point (screen 204 // Returns the specified |tabstrip| if it contains the specified point 206 BaseTabStrip* GetTabStripIfItContains(BaseTabStrip* tabstrip, 209 // Attach the dragged Tab to the specified TabStrip. 212 // Detach the dragged Tab from the current TabStrip. 223 // TabStrip. |tab_strip_point| is in the attached TabStrip's coordinate 231 // Finds the Tabs within the specified TabStrip that corresponds to the 233 std::vector<BaseTab*> GetTabsMatchingDraggedContents(BaseTabStrip* tabstrip); [all...] |
dragged_tab_controller.cc | 179 // Returns the the x-coordinate of |point| if the type of tabstrip is horizontal 181 int MajorAxisValue(const gfx::Point& point, BaseTabStrip* tabstrip) { 182 return (tabstrip->type() == BaseTabStrip::HORIZONTAL_TAB_STRIP) ? 673 // Determine whether or not we have dragged over a compatible TabStrip in 679 // Make sure we're fully detached from whatever TabStrip we're attached to 708 TabStrip* tab_strip = static_cast<TabStrip*>(attached_tabstrip_); 738 // TabStrip determines if the tabs needs to be animated based on model 748 // tabs). Make sure the tabstrip actually changed before updating 817 static_cast<BaseTabStrip*>(browser->tabstrip()); [all...] |
browser_tab_strip_controller.h | 30 void InitFromModel(BaseTabStrip* tabstrip);
|
browser_tab_strip_controller.cc | 141 // When we get here the TabStrip is being deleted. We need to explicitly 142 // cancel the menu, otherwise it may try to invoke something on the tabstrip 150 void BrowserTabStripController::InitFromModel(BaseTabStrip* tabstrip) { 151 tabstrip_ = tabstrip; 446 // possibly before the tabstrip has processed the change. 448 // closeable state, and then schedule paint for entire tabstrip.
|
/external/chromium/chrome/browser/ui/touch/tabs/ |
tab_strip_factory.cc | 19 // 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/chrome/browser/tabs/ |
tab_strip_model_unittest.cc | 401 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.InsertTabContentsAt(2, contents3, TabStripModel::ADD_NONE) [all...] |
tab_strip_model_order_controller.h | 22 explicit TabStripModelOrderController(TabStripModel* tabstrip);
|
tab_strip_model_order_controller.cc | 13 TabStripModel* tabstrip) 14 : tabstrip_(tabstrip),
|
/external/chromium/chrome/browser/ui/views/frame/ |
browser_root_view.cc | 31 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(); 91 // do this as the TabStrip doesn't know about the autocomplete edit and need 139 AbstractTabStripView* BrowserRootView::tabstrip() const { function in class:BrowserRootView [all...] |
browser_non_client_frame_view.h | 21 // Returns the bounds within which the TabStrip should be laid out. 22 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const = 0; 24 // Returns the y coordinate within the window at which the horizontal TabStrip
|
popup_non_client_frame_view.cc | 50 views::View* tabstrip) const { 51 return gfx::Rect(0, 0, width(), tabstrip->GetPreferredSize().height());
|
popup_non_client_frame_view.h | 32 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
|
browser_frame.cc | 30 gfx::Rect BrowserFrame::GetBoundsForTabStrip(views::View* tabstrip) const { 31 return browser_frame_view_->GetBoundsForTabStrip(tabstrip);
|
browser_frame.h | 56 // TabStrip view. 57 gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const; 59 // Returns the y coordinate within the window at which the horizontal TabStrip
|
browser_root_view.h | 19 // the TabStrip. Visually the tabstrip extends to the top of the frame, but in 20 // actually it doesn't. The tabstrip is only as high as a tab. To enable 21 // dropping above the tabstrip BrowserRootView forwards drop events to the 22 // TabStrip. 41 // Returns true if the event should be forwarded to the tabstrip. 50 inline AbstractTabStripView* tabstrip() const;
|
app_panel_browser_frame_view.h | 36 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
|
glass_browser_frame_view.h | 35 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
|
opaque_browser_frame_view.h | 34 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; 62 // the tabstrip area as opposed to the theme frame.
|
browser_frame_win.cc | 265 GetBoundsForTabStrip(browser_view_->tabstrip()));
|
glass_browser_frame_view.cc | 47 // The OTR avatar ends 2 px above the bottom of the tabstrip (which, given the 48 // way the tabstrip draws its bottom edge, will appear like a 1 px gap to the 52 // it on the left, and between it and the tabstrip on the right). 56 // The top 1 px of the tabstrip is shadow; in maximized mode we push this off 113 views::View* tabstrip) const { 115 gfx::Size ps = tabstrip->GetPreferredSize(); 146 tabstrip->GetPreferredSize().height()); 181 // If we don't have a tabstrip, we're either a popup or an app window, in 210 // See if we're in the sysmenu region. We still have to check the tabstrip 325 gfx::Point tabstrip_origin(browser_view_->tabstrip()->bounds().origin()) [all...] |
opaque_browser_frame_view.cc | 68 // The OTR avatar ends 2 px above the bottom of the tabstrip (which, given the 69 // way the tabstrip draws its bottom edge, will appear like a 1 px gap to the 73 // it on the left, and between it and the tabstrip on the right). 75 // The top 1 px of the tabstrip is shadow; in maximized mode we push this off 86 // How far to indent the tabstrip from the left side of the screen when there 89 // Inset from the top of the toolbar/tabstrip to the shadow. Used only for 224 views::View* tabstrip) const { 225 if (!tabstrip) 229 gfx::Size ps = tabstrip->GetPreferredSize(); 243 std::max(0, tabstrip_width), tabstrip->GetPreferredSize().height()) [all...] |
/external/chromium/chrome/browser/ui/gtk/tabs/ |
dragged_tab_controller_gtk.h | 33 // controller's associated source Tab and TabStrip. |mouse_offset| is the 113 // Handles moving the Tab within a TabStrip as well as updating the View. 116 // Returns the compatible TabStrip that is under the specified point (screen 120 // Returns the specified |tabstrip| if it contains the specified point 122 TabStripGtk* GetTabStripIfItContains(TabStripGtk* tabstrip, 125 // Attach the dragged Tab to the specified TabStrip. 128 // Detach the dragged Tab from the current TabStrip. 132 gfx::Point ConvertScreenPointToTabStripPoint(TabStripGtk* tabstrip, 136 // TabStrip, given location of the dragged tab in screen coordinates. 141 // |dragged_bounds| in coordinates relative to the attached TabStrip [all...] |
dragged_tab_controller_gtk.cc | 31 // How far a drag must pull a tab out of the tabstrip in order to detach it. 77 // attached to the source tabstrip. 235 // Determine whether or not we have dragged over a compatible TabStrip in 245 // Make sure we're fully detached from whatever TabStrip we're attached to 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()); 327 // the source TabStrip. 332 return tabstrip; 726 GtkWidget* tabstrip = source_tabstrip_->widget(); local 732 GtkWidget* tabstrip = source_tabstrip_->widget(); local [all...] |
tab_strip_gtk.cc | 49 // 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 108 // A base class for all TabStrip animations. 124 TabAnimation(TabStripGtk* tabstrip, Type type) 125 : tabstrip_(tabstrip), 157 static double GetCurrentTabWidth(TabStripGtk* tabstrip, 160 TabGtk* tab = tabstrip->GetTabAt(index); 166 tabstrip->GetCurrentTabWidths(&unselected, &selected); 261 explicit InsertTabAnimation(TabStripGtk* tabstrip, int index) 262 : TabAnimation(tabstrip, INSERT) [all...] |