Chromium Code Reviews

Unified Diff: chrome/browser/tab_closeable_state_watcher.cc

Issue 5741001: Even more virtual method deinlining. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase (windows) Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/browser/tab_closeable_state_watcher.h ('k') | chrome/browser/tab_contents/background_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_closeable_state_watcher.cc
diff --git a/chrome/browser/tab_closeable_state_watcher.cc b/chrome/browser/tab_closeable_state_watcher.cc
index 198dee50f05f9a656ee2d113f2642526882b49b7..28c9135d49355b9862941dd13a40ea354b04fa73 100644
--- a/chrome/browser/tab_closeable_state_watcher.cc
+++ b/chrome/browser/tab_closeable_state_watcher.cc
@@ -27,3 +27,11 @@
watcher = new ::TabCloseableStateWatcher();
return watcher;
}
+
+bool TabCloseableStateWatcher::CanCloseTab(const Browser* browser) const {
+ return true;
+}
+
+bool TabCloseableStateWatcher::CanCloseBrowser(Browser* browser) {
+ return true;
+}
« no previous file with comments | « chrome/browser/tab_closeable_state_watcher.h ('k') | chrome/browser/tab_contents/background_contents.h » ('j') | no next file with comments »

Powered by Google App Engine