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

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: Addressing final Jeremy's 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..0440dbc9b9325417b22abd8cfcfee839f1162b90 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 false;
+}
+
bool TestTabStripModelDelegate::RunUnloadListenerBeforeClosing(
content::WebContents* contents) {
return true;

Powered by Google App Engine
This is Rietveld 408576698