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

Unified Diff: chrome/browser/tab_contents/popup_menu_helper_mac.mm

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/tab_contents/popup_menu_helper_mac.mm
===================================================================
--- chrome/browser/tab_contents/popup_menu_helper_mac.mm (revision 91968)
+++ chrome/browser/tab_contents/popup_menu_helper_mac.mm (working copy)
@@ -18,7 +18,7 @@
PopupMenuHelper::PopupMenuHelper(RenderViewHost* render_view_host)
: render_view_host_(render_view_host) {
notification_registrar_.Add(
- this, NotificationType::RENDER_WIDGET_HOST_DESTROYED,
+ this, content::RENDER_WIDGET_HOST_DESTROYED,
Source<RenderWidgetHost>(render_view_host));
}
@@ -76,10 +76,10 @@
}
void PopupMenuHelper::Observe(
- NotificationType type,
+ int type,
const NotificationSource& source,
const NotificationDetails& details) {
- DCHECK(type == NotificationType::RENDER_WIDGET_HOST_DESTROYED);
+ DCHECK(type == content::RENDER_WIDGET_HOST_DESTROYED);
RenderViewHost* rvh = Source<RenderViewHost>(source).ptr();
DCHECK_EQ(render_view_host_, rvh);
render_view_host_ = NULL;
« no previous file with comments | « chrome/browser/tab_contents/popup_menu_helper_mac.h ('k') | chrome/browser/tab_contents/tab_contents_ssl_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698