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

Unified Diff: chrome/browser/debugger/devtools_window.cc

Issue 10079023: Move notifications used only in chrome/ out of content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: six! Created 8 years, 8 months 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/debugger/devtools_window.cc
diff --git a/chrome/browser/debugger/devtools_window.cc b/chrome/browser/debugger/devtools_window.cc
index 2c191e55ed288e7613bcb370cc1b963e302f559f..30c845705e91504070bc9712018f353e6756ea4e 100644
--- a/chrome/browser/debugger/devtools_window.cc
+++ b/chrome/browser/debugger/devtools_window.cc
@@ -215,7 +215,7 @@ DevToolsWindow::DevToolsWindow(TabContentsWrapper* tab_contents,
&tab_contents_->web_contents()->GetController()));
registrar_.Add(
this,
- content::NOTIFICATION_TAB_CLOSING,
+ chrome::NOTIFICATION_TAB_CLOSING,
content::Source<NavigationController>(
&tab_contents_->web_contents()->GetController()));
registrar_.Add(
@@ -487,7 +487,7 @@ void DevToolsWindow::Observe(int type,
UpdateTheme();
DoAction();
AddDevToolsExtensionsToClient();
- } else if (type == content::NOTIFICATION_TAB_CLOSING) {
+ } else if (type == chrome::NOTIFICATION_TAB_CLOSING) {
if (content::Source<NavigationController>(source).ptr() ==
&tab_contents_->web_contents()->GetController()) {
// This happens when browser closes all of its tabs as a result

Powered by Google App Engine
This is Rietveld 408576698