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

Unified Diff: chrome/browser/extensions/extension_omnibox_api.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/extensions/extension_omnibox_api.cc
===================================================================
--- chrome/browser/extensions/extension_omnibox_api.cc (revision 91968)
+++ chrome/browser/extensions/extension_omnibox_api.cc (working copy)
@@ -15,6 +15,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url.h"
#include "chrome/browser/ui/browser.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/extensions/extension_constants.h"
#include "content/common/notification_service.h"
@@ -99,7 +100,7 @@
extension_id, events::kOnInputEntered, json_args, profile, GURL());
NotificationService::current()->Notify(
- NotificationType::EXTENSION_OMNIBOX_INPUT_ENTERED,
+ chrome::NOTIFICATION_EXTENSION_OMNIBOX_INPUT_ENTERED,
Source<Profile>(profile), NotificationService::NoDetails());
}
@@ -140,7 +141,7 @@
}
NotificationService::current()->Notify(
- NotificationType::EXTENSION_OMNIBOX_SUGGESTIONS_READY,
+ chrome::NOTIFICATION_EXTENSION_OMNIBOX_SUGGESTIONS_READY,
Source<Profile>(profile_),
Details<ExtensionOmniboxSuggestions>(&suggestions));
@@ -171,7 +172,7 @@
suggestion);
NotificationService::current()->Notify(
- NotificationType::EXTENSION_OMNIBOX_DEFAULT_SUGGESTION_CHANGED,
+ chrome::NOTIFICATION_EXTENSION_OMNIBOX_DEFAULT_SUGGESTION_CHANGED,
Source<Profile>(profile_),
NotificationService::NoDetails());
« no previous file with comments | « chrome/browser/extensions/extension_metrics_apitest.cc ('k') | chrome/browser/extensions/extension_omnibox_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698