Index: content/browser/renderer_host/render_view_host.cc |
=================================================================== |
--- content/browser/renderer_host/render_view_host.cc (revision 106380) |
+++ content/browser/renderer_host/render_view_host.cc (working copy) |
@@ -33,7 +33,7 @@ |
#include "content/common/content_constants.h" |
#include "content/common/desktop_notification_messages.h" |
#include "content/common/drag_messages.h" |
-#include "content/common/notification_service.h" |
+#include "content/public/browser/notification_service.h" |
#include "content/common/result_codes.h" |
#include "content/common/speech_input_messages.h" |
#include "content/common/swapped_out_messages.h" |
@@ -131,20 +131,20 @@ |
content::GetContentClient()->browser()->RenderViewHostCreated(this); |
- NotificationService::current()->Notify( |
+ content::NotificationService::current()->Notify( |
content::NOTIFICATION_RENDER_VIEW_HOST_CREATED, |
content::Source<RenderViewHost>(this), |
- NotificationService::NoDetails()); |
+ content::NotificationService::NoDetails()); |
} |
RenderViewHost::~RenderViewHost() { |
FOR_EACH_OBSERVER( |
RenderViewHostObserver, observers_, RenderViewHostDestruction()); |
- NotificationService::current()->Notify( |
+ content::NotificationService::current()->Notify( |
content::NOTIFICATION_RENDER_VIEW_HOST_DELETED, |
content::Source<RenderViewHost>(this), |
- NotificationService::NoDetails()); |
+ content::NotificationService::NoDetails()); |
ClearPowerSaveBlockers(); |
@@ -370,10 +370,10 @@ |
if (IsRenderViewLive()) { |
// TODO(creis): Should this be moved to Shutdown? It may not be called for |
// RenderViewHosts that have been swapped out. |
- NotificationService::current()->Notify( |
+ content::NotificationService::current()->Notify( |
content::NOTIFICATION_RENDER_VIEW_HOST_WILL_CLOSE_RENDER_VIEW, |
content::Source<RenderViewHost>(this), |
- NotificationService::NoDetails()); |
+ content::NotificationService::NoDetails()); |
Send(new ViewMsg_ClosePage(routing_id())); |
} else { |
@@ -1074,10 +1074,10 @@ |
} |
void RenderViewHost::OnTargetDropACK() { |
- NotificationService::current()->Notify( |
+ content::NotificationService::current()->Notify( |
content::NOTIFICATION_RENDER_VIEW_HOST_DID_RECEIVE_DRAG_TARGET_DROP_ACK, |
content::Source<RenderViewHost>(this), |
- NotificationService::NoDetails()); |
+ content::NotificationService::NoDetails()); |
} |
void RenderViewHost::OnTakeFocus(bool reverse) { |
@@ -1344,10 +1344,10 @@ |
} |
} |
- NotificationService::current()->Notify( |
+ content::NotificationService::current()->Notify( |
content::NOTIFICATION_RENDER_VIEW_HOST_ACCESSIBILITY_TREE_UPDATED, |
content::Source<RenderViewHost>(this), |
- NotificationService::NoDetails()); |
+ content::NotificationService::NoDetails()); |
} |
Send(new ViewMsg_AccessibilityNotifications_ACK(routing_id())); |
@@ -1361,7 +1361,7 @@ |
return; |
} |
std::pair<int, Value*> details(id, result_value); |
- NotificationService::current()->Notify( |
+ content::NotificationService::current()->Notify( |
content::NOTIFICATION_EXECUTE_JAVASCRIPT_RESULT, |
content::Source<RenderViewHost>(this), |
content::Details<std::pair<int, Value*> >(&details)); |