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

Unified Diff: chrome/browser/extensions/extension_browser_event_router.cc

Issue 10779042: Move notifications only used in chrome/ to chrome/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix oops Created 8 years, 5 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/extensions/extension_browser_event_router.cc
diff --git a/chrome/browser/extensions/extension_browser_event_router.cc b/chrome/browser/extensions/extension_browser_event_router.cc
index 861fe0f30fae384d93e0f44ac60297979a2e6cbf..aa125732bf61318b04704406be0af1fd502a7f50 100644
--- a/chrome/browser/extensions/extension_browser_event_router.cc
+++ b/chrome/browser/extensions/extension_browser_event_router.cc
@@ -85,7 +85,7 @@ void ExtensionBrowserEventRouter::Init() {
#elif defined(OS_MACOSX)
// Needed for when no suitable window can be passed to an extension as the
// currently focused window.
- registrar_.Add(this, content::NOTIFICATION_NO_KEY_WINDOW,
+ registrar_.Add(this, chrome::NOTIFICATION_NO_KEY_WINDOW,
content::NotificationService::AllSources());
#endif
@@ -569,7 +569,7 @@ void ExtensionBrowserEventRouter::Observe(
Browser* browser = content::Source<Browser>(source).ptr();
OnBrowserWindowReady(browser);
#if defined(OS_MACOSX)
- } else if (type == content::NOTIFICATION_NO_KEY_WINDOW) {
+ } else if (type == chrome::NOTIFICATION_NO_KEY_WINDOW) {
OnBrowserSetLastActive(NULL);
#endif
} else {

Powered by Google App Engine
This is Rietveld 408576698