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

Unified Diff: chrome/browser/ui/browser.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: 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
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 7f851351abc0f36fe118305b0567dc71a551a7f1..3af23d246fffa2ef622110cb6d167b3cd1785ab7 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -394,6 +394,9 @@ class Browser : public TabStripModelObserver,
/////////////////////////////////////////////////////////////////////////////
+ // Returns true if we need to run unload events for the |contents|.
+ static bool ShouldRunUnloadEventsHelper(content::WebContents* contents);
sky 2013/11/14 18:50:04 Why does this needs to be in browser (browser is h
lushnikov 2013/11/14 22:29:48 This is a complimentary method to |RunUnloadEvents
+
// Helper function to run unload listeners on a WebContents.
static bool RunUnloadEventsHelper(content::WebContents* contents);
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698