Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / notifications / notification_delegate.h
index 6ba6171..3de3be6 100644 (file)
@@ -11,7 +11,7 @@
 #include "ui/message_center/notification_delegate.h"
 
 namespace content {
-class RenderViewHost;
+class WebContents;
 }
 
 // Delegate for a notification. This class has two roles: to implement callback
@@ -25,8 +25,8 @@ class NotificationDelegate : public message_center::NotificationDelegate {
   // Returns the id of renderer process which creates the notification, or -1.
   virtual int process_id() const;
 
-  // Returns the RenderViewHost that generated the notification, or NULL.
-  virtual content::RenderViewHost* GetRenderViewHost() const = 0;
+  // Returns the WebContents that generated the notification, or NULL.
+  virtual content::WebContents* GetWebContents() const = 0;
 
   // Lets the delegate know that no more rendering will be necessary.
   virtual void ReleaseRenderViewHost();