Home
last modified time | relevance | path

Searched refs:CanCloseTab (Results 1 – 14 of 14) sorted by relevance

/external/chromium/chrome/browser/chromeos/
Dtab_closeable_state_watcher_browsertest.cc47 bool CanCloseTab(const Browser* browser) { in CanCloseTab() function in chromeos::TabCloseableStateWatcherTest
48 return browser->tabstrip_model()->delegate()->CanCloseTab(); in CanCloseTab()
122 EXPECT_TRUE(CanCloseTab(browser())); in IN_PROC_BROWSER_TEST_F()
126 EXPECT_FALSE(CanCloseTab(browser())); in IN_PROC_BROWSER_TEST_F()
130 EXPECT_TRUE(CanCloseTab(browser())); in IN_PROC_BROWSER_TEST_F()
140 EXPECT_FALSE(CanCloseTab(browser())); in IN_PROC_BROWSER_TEST_F()
145 EXPECT_TRUE(CanCloseTab(browser())); in IN_PROC_BROWSER_TEST_F()
149 EXPECT_TRUE(CanCloseTab(browser())); in IN_PROC_BROWSER_TEST_F()
153 EXPECT_TRUE(CanCloseTab(browser())); in IN_PROC_BROWSER_TEST_F()
158 EXPECT_FALSE(CanCloseTab(browser())); in IN_PROC_BROWSER_TEST_F()
[all …]
Dtab_closeable_state_watcher.h50 virtual bool CanCloseTab(const Browser* browser) const;
Dtab_closeable_state_watcher.cc83 bool TabCloseableStateWatcher::CanCloseTab(const Browser* browser) const { in CanCloseTab() function in chromeos::TabCloseableStateWatcher
/external/chromium/chrome/browser/
Dtab_closeable_state_watcher.cc31 bool TabCloseableStateWatcher::CanCloseTab(const Browser* browser) const { in CanCloseTab() function in TabCloseableStateWatcher
Dtab_closeable_state_watcher.h35 virtual bool CanCloseTab(const Browser* browser) const;
/external/chromium/chrome/browser/tabs/
Ddefault_tab_handler.cc110 bool DefaultTabHandler::CanCloseTab() const { in CanCloseTab() function in DefaultTabHandler
111 return delegate_->AsBrowser()->CanCloseTab(); in CanCloseTab()
Dtab_strip_model_delegate.h111 virtual bool CanCloseTab() const = 0;
Ddefault_tab_handler.h51 virtual bool CanCloseTab() const;
Dtab_strip_model.cc55 bool TabStripModelDelegate::CanCloseTab() const { in CanCloseTab() function in TabStripModelDelegate
723 return delegate_->CanCloseTab(); in IsContextMenuCommandEnabled()
842 for (size_t i = 0; i < tabs.size() && delegate_->CanCloseTab(); ++i) { in ExecuteContextMenuCommand()
Dtab_strip_model_unittest.cc126 virtual bool CanCloseTab() const { return true; } in CanCloseTab() function in TabStripDummyDelegate
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_strip_controller_unittest.mm84 virtual bool CanCloseTab() const { return true; }
/external/chromium/chrome/browser/ui/views/tabs/
Dbrowser_tab_strip_controller.cc208 model_->delegate()->CanCloseTab(); in IsTabCloseable()
/external/chromium/chrome/browser/ui/
Dbrowser.h699 virtual bool CanCloseTab() const;
Dbrowser.cc1432 if (CanCloseTab()) in CloseTab()
2646 if (!CanCloseTab()) in CanCloseContentsAt()
2678 bool Browser::CanCloseTab() const { in CanCloseTab() function in Browser
2681 return !watcher || watcher->CanCloseTab(this); in CanCloseTab()