/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...] |
/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_org/chrome/browser/ui/tabs/ |
tab_strip_model_unittest.cc | 358 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.InsertWebContentsAt(1, contents2, TabStripModel::ADD_ACTIVE) [all...] |
tab_strip_model_order_controller.h | 19 explicit TabStripModelOrderController(TabStripModel* tabstrip);
|
tab_strip_model_order_controller.cc | 13 TabStripModel* tabstrip) 14 : tabstrip_(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;
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
browser_root_view.cc | 38 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(); 98 // do this as the TabStrip doesn't know about the autocomplete edit and need 154 TabStrip* BrowserRootView::tabstrip() const { function in class:BrowserRootView [all...] |
popup_non_client_frame_view.cc | 45 views::View* tabstrip) const { 46 return gfx::Rect(0, 0, width(), tabstrip->GetPreferredSize().height());
|
popup_non_client_frame_view.h | 29 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
|
browser_non_client_frame_view.h | 19 // Insets around the tabstrip. 39 // Returns the bounds within which the TabStrip should be laid out. 40 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const = 0;
|
browser_non_client_frame_view_ash.cc | 44 // 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->GetPreferredSize().height()) [all...] |
browser_view_unittest.cc | 48 browser_view->frame()->GetBoundsForTabStrip(browser_view->tabstrip())); 178 TabStrip* tabstrip = browser_view()->tabstrip(); local 189 EXPECT_EQ(top_container, browser_view()->tabstrip()->parent()); 205 // Tabstrip layout varies based on window frame sizes. 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() [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...] |
/external/chromium_org/chrome/browser/ui/gtk/tabs/ |
dragged_tab_controller_gtk.h | 32 // |source_tabstrip| is the tabstrip where the tabs reside before any 41 // controller's associated source Tab and TabStrip. |mouse_offset| is the 123 // Returns the compatible TabStrip that is under the specified point (screen 127 // Returns the specified |tabstrip| if it contains the specified point 129 TabStripGtk* GetTabStripIfItContains(TabStripGtk* tabstrip, 132 // Attach the dragged Tab to the specified TabStrip. 135 // Detach the dragged Tab from the current TabStrip. 139 gfx::Point ConvertScreenPointToTabStripPoint(TabStripGtk* tabstrip, 143 // TabStrip, given location of the dragged tab in screen coordinates. 148 // |dragged_bounds| in coordinates relative to the attached TabStrip [all...] |