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

Unified Diff: chrome/browser/automation/automation_window_tracker.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/automation/automation_window_tracker.cc
===================================================================
--- chrome/browser/automation/automation_window_tracker.cc (revision 91968)
+++ chrome/browser/automation/automation_window_tracker.cc (working copy)
@@ -4,6 +4,7 @@
#include "chrome/browser/automation/automation_window_tracker.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/native_window_notification_source.h"
AutomationWindowTracker::AutomationWindowTracker(
@@ -15,11 +16,11 @@
}
void AutomationWindowTracker::AddObserver(gfx::NativeWindow resource) {
- registrar_.Add(this, NotificationType::WINDOW_CLOSED,
+ registrar_.Add(this, chrome::NOTIFICATION_WINDOW_CLOSED,
Source<gfx::NativeWindow>(resource));
}
void AutomationWindowTracker::RemoveObserver(gfx::NativeWindow resource) {
- registrar_.Remove(this, NotificationType::WINDOW_CLOSED,
+ registrar_.Remove(this, chrome::NOTIFICATION_WINDOW_CLOSED,
Source<gfx::NativeWindow>(resource));
}
« no previous file with comments | « chrome/browser/automation/automation_tab_tracker.cc ('k') | chrome/browser/automation/testing_automation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698