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

Unified Diff: chrome/browser/ui/browser_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: 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/browser_tab_strip_model_delegate.h
diff --git a/chrome/browser/ui/browser_tab_strip_model_delegate.h b/chrome/browser/ui/browser_tab_strip_model_delegate.h
index 405c01f5ef7b90849e348348bea2ce05abb2228b..80ba8391a421f3cafe8f873af664b4265780267c 100644
--- a/chrome/browser/ui/browser_tab_strip_model_delegate.h
+++ b/chrome/browser/ui/browser_tab_strip_model_delegate.h
@@ -32,6 +32,8 @@ class BrowserTabStripModelDelegate : public TabStripModelDelegate {
virtual void CreateHistoricalTab(content::WebContents* contents) OVERRIDE;
virtual bool RunUnloadListenerBeforeClosing(
content::WebContents* contents) OVERRIDE;
+ virtual bool ShouldRunUnloadListenerBeforeClosing(
+ content::WebContents* contents) OVERRIDE;
virtual bool CanBookmarkAllTabs() const OVERRIDE;
virtual void BookmarkAllTabs() OVERRIDE;
virtual RestoreTabType GetRestoreTabType() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698