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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view_win.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/renderer_host/render_widget_host_view_win.cc
===================================================================
--- chrome/browser/renderer_host/render_widget_host_view_win.cc (revision 91968)
+++ chrome/browser/renderer_host/render_widget_host_view_win.cc (working copy)
@@ -243,7 +243,7 @@
text_input_type_(ui::TEXT_INPUT_TYPE_NONE) {
render_widget_host_->SetView(this);
registrar_.Add(this,
- NotificationType::RENDERER_PROCESS_TERMINATED,
+ content::NOTIFICATION_RENDERER_PROCESS_TERMINATED,
NotificationService::AllSources());
}
@@ -1460,10 +1460,10 @@
browser_accessibility_manager_->OnAccessibilityNotifications(params);
}
-void RenderWidgetHostViewWin::Observe(NotificationType type,
+void RenderWidgetHostViewWin::Observe(int type,
const NotificationSource& source,
const NotificationDetails& details) {
- DCHECK(type == NotificationType::RENDERER_PROCESS_TERMINATED);
+ DCHECK(type == content::NOTIFICATION_RENDERER_PROCESS_TERMINATED);
// Get the RenderProcessHost that posted this notification, and exit
// if it's not the one associated with this host view.
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_win.h ('k') | chrome/browser/renderer_host/web_cache_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698