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

Unified Diff: chrome/browser/ui/tabs/test_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/tabs/test_tab_strip_model_delegate.h
diff --git a/chrome/browser/ui/tabs/test_tab_strip_model_delegate.h b/chrome/browser/ui/tabs/test_tab_strip_model_delegate.h
index a47016812df6b7c611a2f5e848a7cc3805a5241c..ba53371ba42bcee236d3e11180a2788df9b134f8 100644
--- a/chrome/browser/ui/tabs/test_tab_strip_model_delegate.h
+++ b/chrome/browser/ui/tabs/test_tab_strip_model_delegate.h
@@ -28,6 +28,8 @@ class TestTabStripModelDelegate : public TabStripModelDelegate {
virtual void DuplicateContentsAt(int index) OVERRIDE;
virtual void CloseFrameAfterDragSession() OVERRIDE;
virtual void CreateHistoricalTab(content::WebContents* contents) OVERRIDE;
+ virtual bool ShouldRunUnloadListenerBeforeClosing(
+ content::WebContents* contents) OVERRIDE;
virtual bool RunUnloadListenerBeforeClosing(
content::WebContents* contents) OVERRIDE;
virtual RestoreTabType GetRestoreTabType() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698