Home
last modified time | relevance | path

Searched refs:tab_strip_ (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_strip_unittest.cc40 : tab_strip_(tab_strip), in TestTabStripObserver()
46 tab_strip_->AddObserver(this); in TestTabStripObserver()
50 if (tab_strip_) in ~TestTabStripObserver()
51 tab_strip_->RemoveObserver(this); in ~TestTabStripObserver()
79 tab_strip_ = NULL; in TabStripDeleted()
82 TabStrip* tab_strip_; member in TestTabStripObserver
96 tab_strip_(NULL) { in TabStripTest()
105 tab_strip_ = new TabStrip(controller_); in SetUp()
106 controller_->set_tab_strip(tab_strip_); in SetUp()
108 parent_.AddChildView(tab_strip_); in SetUp()
[all …]
Dfake_base_tab_strip_controller.cc11 : tab_strip_(NULL), in FakeBaseTabStripController()
21 tab_strip_->AddTabAt(index, TabRendererData(), is_active); in AddTab()
28 tab_strip_->RemoveTabAt(index); in RemoveTab()
132 tab_strip_->FileSupported(url, true); in CheckFileSupported()
Dfake_base_tab_strip_controller.h22 void set_tab_strip(TabStrip* tab_strip) { tab_strip_ = tab_strip; } in set_tab_strip()
58 TabStrip* tab_strip_;
Dtab_strip.cc142 TabStrip* tab_strip() { return tab_strip_; } in tab_strip()
146 TabStrip* const tab_strip_; member in __anonb29422210111::TabAnimationDelegate
153 : tab_strip_(tab_strip), in TabAnimationDelegate()
162 tab_->SetVisible(tab_strip_->ShouldTabBeVisible(tab_)); in AnimationProgressed()
269 TabStrip* tab_strip_; member in NewTabButton
282 tab_strip_(tab_strip), in NewTabButton()
332 if (tab_strip_->SizeTabButtonToTopOfTabStrip()) { in GetHitTestMask()
370 } else if (tab_strip_->controller()->IsIncognito()) { in GetBackgroundImage()
/external/chromium_org/ui/views/controls/tabbed_pane/
Dtabbed_pane.cc242 tab_strip_(new TabStrip(this)), in TabbedPane()
246 AddChildView(tab_strip_); in TabbedPane()
253 DCHECK_EQ(tab_strip_->child_count(), contents_->child_count()); in GetTabCount()
263 AddTabAtIndex(tab_strip_->child_count(), title, contents); in AddTab()
272 tab_strip_->AddChildViewAt(new Tab(this, title, contents), index); in AddTabAtIndex()
291 tab_strip_->SchedulePaint(); in SelectTabAt()
306 const int index = tab_strip_->GetIndexOf(tab); in SelectTab()
315 size.Enlarge(0, tab_strip_->GetPreferredSize().height()); in GetPreferredSize()
320 return static_cast<Tab*>(tab_strip_->child_at(index)); in GetTabAt()
324 const gfx::Size size = tab_strip_->GetPreferredSize(); in Layout()
[all …]
Dtabbed_pane.h79 TabStrip* tab_strip_; variable
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_view_layout.cc126 tab_strip_(NULL), in BrowserViewLayout()
155 tab_strip_ = tab_strip; in Init()
171 tab_strip_->GetMinimumSize() : gfx::Size()); in GetMinimumSize()
268 if (ConvertedHitTest(parent, tab_strip_, &test_point)) { in NonClientHitTest()
269 if (tab_strip_->IsPositionInWindowCaption(test_point)) in NonClientHitTest()
280 (tab_strip_->y() + kTabShadowSize))) { in NonClientHitTest()
324 int x = tab_strip_->GetMirroredX() + in Layout()
328 tab_strip_->SetBackgroundOffset(gfx::Point(x, y)); in Layout()
382 tab_strip_->SetVisible(false); in LayoutTabStripRegion()
383 tab_strip_->SetBounds(0, 0, 0, 0); in LayoutTabStripRegion()
[all …]
Dbrowser_view_layout_unittest.cc135 tab_strip_(NULL), in BrowserViewLayoutTest()
147 TabStrip* tab_strip() { return tab_strip_; } in tab_strip()
161 tab_strip_ = new TabStrip(NULL); in SetUp()
162 top_container_->AddChildView(tab_strip_); in SetUp()
190 tab_strip_, in SetUp()
205 TabStrip* tab_strip_; member in BrowserViewLayoutTest
Dbrowser_view_layout.h62 tab_strip_ = tab_strip; in set_tab_strip()
143 TabStrip* tab_strip_; variable
/external/chromium_org/chrome/browser/ui/cocoa/tabs/
Dtab_strip_controller_unittest.mm111 tab_strip_.reset(
113 [parent addSubview:tab_strip_.get()];
117 [tab_strip_ addSubview:new_tab_button.get()];
118 [tab_strip_ setNewTabButton:new_tab_button.get()];
124 initWithView:static_cast<TabStripView*>(tab_strip_.get())
153 tab_strip_.reset();
164 base::scoped_nsobject<TabStripView> tab_strip_;
227 const CGFloat min_y = NSMinY([tab_strip_.get() frame]) + 1;
338 NSArray* attrs = [tab_strip_ accessibilityAttributeNames];
345 [tab_strip_ accessibilityAttributeValue:NSAccessibilityContentsAttribute];
[all …]
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_browsertest.cc162 : tab_strip_(tab_strip) { in MockTabStripModelObserver()
163 tab_strip_->AddObserver(this); in MockTabStripModelObserver()
167 tab_strip_->RemoveObserver(this); in ~MockTabStripModelObserver()
173 TabStripModel* tab_strip_; member in __anon124f26180111::MockTabStripModelObserver
/external/chromium_org/chrome/browser/ui/tabs/
Dtab_strip_model_unittest.cc59 tab_strip_(tab_strip) { in DeleteWebContentsOnDestroyedObserver()
65 TabStripModel* tab_strip_to_delete = tab_strip_; in WebContentsDestroyed()
66 tab_strip_ = NULL; in WebContentsDestroyed()
73 TabStripModel* tab_strip_; member in __anone0551e530111::DeleteWebContentsOnDestroyedObserver