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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.cc

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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/ui/views/omnibox/omnibox_view_views.cc
===================================================================
--- chrome/browser/ui/views/omnibox/omnibox_view_views.cc (revision 91771)
+++ chrome/browser/ui/views/omnibox/omnibox_view_views.cc (working copy)
@@ -15,6 +15,7 @@
#include "chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.h"
#include "chrome/browser/ui/views/autocomplete/touch_autocomplete_popup_contents_view.h"
#include "chrome/browser/ui/views/location_bar/location_bar_view.h"
+#include "chrome/common/chrome_notification_types.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "content/common/notification_service.h"
#include "googleurl/src/gurl.h"
@@ -144,7 +145,7 @@
}
OmniboxViewViews::~OmniboxViewViews() {
- NotificationService::current()->Notify(NotificationType::OMNIBOX_DESTROYED,
+ NotificationService::current()->Notify(chrome::OMNIBOX_DESTROYED,
Source<OmniboxViewViews>(this),
NotificationService::NoDetails());
// Explicitly teardown members which have a reference to us. Just to be safe
@@ -567,7 +568,7 @@
void OmniboxViewViews::Observe(NotificationType type,
const NotificationSource& source,
const NotificationDetails& details) {
- DCHECK(type == NotificationType::BROWSER_THEME_CHANGED);
+ DCHECK(type == chrome::BROWSER_THEME_CHANGED);
SetBaseColor();
}

Powered by Google App Engine
This is Rietveld 408576698