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

Unified Diff: chrome/browser/chromeos/login/wizard_accessibility_helper.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/chromeos/login/wizard_accessibility_helper.cc
===================================================================
--- chrome/browser/chromeos/login/wizard_accessibility_helper.cc (revision 91971)
+++ chrome/browser/chromeos/login/wizard_accessibility_helper.cc (working copy)
@@ -11,6 +11,7 @@
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/pref_names.h"
#include "content/common/notification_registrar.h"
#include "content/common/notification_service.h"
@@ -57,19 +58,19 @@
void WizardAccessibilityHelper::RegisterNotifications() {
registrar_.Add(accessibility_handler_.get(),
- NotificationType::ACCESSIBILITY_CONTROL_FOCUSED,
+ chrome::NOTIFICATION_ACCESSIBILITY_CONTROL_FOCUSED,
NotificationService::AllSources());
registrar_.Add(accessibility_handler_.get(),
- NotificationType::ACCESSIBILITY_CONTROL_ACTION,
+ chrome::NOTIFICATION_ACCESSIBILITY_CONTROL_ACTION,
NotificationService::AllSources());
registrar_.Add(accessibility_handler_.get(),
- NotificationType::ACCESSIBILITY_TEXT_CHANGED,
+ chrome::NOTIFICATION_ACCESSIBILITY_TEXT_CHANGED,
NotificationService::AllSources());
registrar_.Add(accessibility_handler_.get(),
- NotificationType::ACCESSIBILITY_MENU_OPENED,
+ chrome::NOTIFICATION_ACCESSIBILITY_MENU_OPENED,
NotificationService::AllSources());
registrar_.Add(accessibility_handler_.get(),
- NotificationType::ACCESSIBILITY_MENU_CLOSED,
+ chrome::NOTIFICATION_ACCESSIBILITY_MENU_CLOSED,
NotificationService::AllSources());
registered_notifications_ = true;
}

Powered by Google App Engine
This is Rietveld 408576698