Index: chrome/browser/render_widget_host_hwnd.h |
=================================================================== |
--- chrome/browser/render_widget_host_hwnd.h (revision 12533) |
+++ chrome/browser/render_widget_host_hwnd.h (working copy) |
@@ -17,6 +17,7 @@ |
#include "base/task.h" |
#include "chrome/browser/ime_input.h" |
#include "chrome/browser/render_widget_host_view.h" |
+#include "chrome/common/notification_service.h" |
#include "chrome/common/render_messages.h" |
#include "chrome/views/focus_manager.h" |
@@ -53,7 +54,8 @@ |
public CWindowImpl<RenderWidgetHostHWND, |
CWindow, |
RenderWidgetHostHWNDTraits>, |
- public RenderWidgetHostView { |
+ public RenderWidgetHostView, |
+ public NotificationObserver { |
public: |
RenderWidgetHostHWND(RenderWidgetHost* render_widget_host); |
virtual ~RenderWidgetHostHWND(); |
@@ -178,6 +180,10 @@ |
void OnFinalMessage(HWND window); |
private: |
+ void Observe(NotificationType type, |
+ const NotificationSource& source, |
+ const NotificationDetails& details); |
+ |
// Tells Windows that we want to hear about mouse exit messages. |
void TrackMouseLeave(bool start_tracking); |