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

Unified Diff: chrome/browser/ui/web_applications/web_app_ui.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/ui/web_applications/web_app_ui.cc
diff --git a/chrome/browser/ui/web_applications/web_app_ui.cc b/chrome/browser/ui/web_applications/web_app_ui.cc
index 6a034f46c99cb2e72234442be1b64081936fbffd..ba2ebfde2027cd263bab0dad091e6e5db40d29a2 100644
--- a/chrome/browser/ui/web_applications/web_app_ui.cc
+++ b/chrome/browser/ui/web_applications/web_app_ui.cc
@@ -15,12 +15,12 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
#include "chrome/browser/web_applications/web_app.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_paths.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/notification_source.h"
-#include "content/public/browser/notification_types.h"
#include "content/public/browser/web_contents.h"
#if defined(OS_POSIX) && !defined(OS_MACOSX)
@@ -104,7 +104,7 @@ UpdateShortcutWorker::UpdateShortcutWorker(TabContentsWrapper* tab_contents)
registrar_.Add(
this,
- content::NOTIFICATION_TAB_CLOSING,
+ chrome::NOTIFICATION_TAB_CLOSING,
content::Source<NavigationController>(
&tab_contents_->web_contents()->GetController()));
}
@@ -118,7 +118,7 @@ void UpdateShortcutWorker::Observe(
int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
- if (type == content::NOTIFICATION_TAB_CLOSING &&
+ if (type == chrome::NOTIFICATION_TAB_CLOSING &&
content::Source<NavigationController>(source).ptr() ==
&tab_contents_->web_contents()->GetController()) {
// Underlying tab is closing.

Powered by Google App Engine
This is Rietveld 408576698