Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(709)

Unified Diff: chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc

Issue 23835007: DevTools: Do not close devtools if there are dirty files in workspace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revisiting naming & comments Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc
diff --git a/chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc b/chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc
index f0037a18feeac2b2a884805f32ccf097b0a5a820..f01dd65dc3910a34fa7f9a10701581ef59e79e3c 100644
--- a/chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc
+++ b/chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc
@@ -50,6 +50,11 @@ void TestTabStripModelDelegate::CreateHistoricalTab(
content::WebContents* contents) {
}
+bool TestTabStripModelDelegate::ShouldRunUnloadListenerBeforeClosing(
+ content::WebContents* contents) {
+ return true;
+}
+
bool TestTabStripModelDelegate::RunUnloadListenerBeforeClosing(
content::WebContents* contents) {
return true;

Powered by Google App Engine
This is Rietveld 408576698