/external/chromium/chrome/browser/chromeos/ |
D | tab_closeable_state_watcher_browsertest.cc | 47 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 …]
|
D | tab_closeable_state_watcher.h | 50 virtual bool CanCloseTab(const Browser* browser) const;
|
D | tab_closeable_state_watcher.cc | 83 bool TabCloseableStateWatcher::CanCloseTab(const Browser* browser) const { in CanCloseTab() function in chromeos::TabCloseableStateWatcher
|
/external/chromium/chrome/browser/ |
D | tab_closeable_state_watcher.cc | 31 bool TabCloseableStateWatcher::CanCloseTab(const Browser* browser) const { in CanCloseTab() function in TabCloseableStateWatcher
|
D | tab_closeable_state_watcher.h | 35 virtual bool CanCloseTab(const Browser* browser) const;
|
/external/chromium/chrome/browser/tabs/ |
D | default_tab_handler.cc | 110 bool DefaultTabHandler::CanCloseTab() const { in CanCloseTab() function in DefaultTabHandler 111 return delegate_->AsBrowser()->CanCloseTab(); in CanCloseTab()
|
D | tab_strip_model_delegate.h | 111 virtual bool CanCloseTab() const = 0;
|
D | default_tab_handler.h | 51 virtual bool CanCloseTab() const;
|
D | tab_strip_model.cc | 55 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()
|
D | tab_strip_model_unittest.cc | 126 virtual bool CanCloseTab() const { return true; } in CanCloseTab() function in TabStripDummyDelegate
|
/external/chromium/chrome/browser/ui/cocoa/tabs/ |
D | tab_strip_controller_unittest.mm | 84 virtual bool CanCloseTab() const { return true; }
|
/external/chromium/chrome/browser/ui/views/tabs/ |
D | browser_tab_strip_controller.cc | 208 model_->delegate()->CanCloseTab(); in IsTabCloseable()
|
/external/chromium/chrome/browser/ui/ |
D | browser.h | 699 virtual bool CanCloseTab() const;
|
D | browser.cc | 1432 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()
|