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

Unified Diff: chrome/browser/ui/tabs/tab_strip_model_delegate.h

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: Address 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/tab_strip_model_delegate.h
diff --git a/chrome/browser/ui/tabs/tab_strip_model_delegate.h b/chrome/browser/ui/tabs/tab_strip_model_delegate.h
index cc2f7d2b47fbffd752a0fd5ce718e885dce4d8fd..997a1ccba2fc48999bfd6d2850c939be00ffb0da 100644
--- a/chrome/browser/ui/tabs/tab_strip_model_delegate.h
+++ b/chrome/browser/ui/tabs/tab_strip_model_delegate.h
@@ -104,6 +104,9 @@ class TabStripModelDelegate {
virtual bool RunUnloadListenerBeforeClosing(
content::WebContents* contents) = 0;
+ // Returns true if we should allow fast shutdown for the given WebContents.
+ virtual bool CanFastShutdownWebContents(content::WebContents* contents) = 0;
+
// Returns the current tab restore type.
virtual RestoreTabType GetRestoreTabType() = 0;

Powered by Google App Engine
This is Rietveld 408576698