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

Unified Diff: chrome/browser/render_widget_host_hwnd.h

Issue 53096: Broadcast a state change notification from the toolbar to the RenderWidgetHos... (Closed) Base URL: svn://chrome-svn/chrome/branches/release_154.next/src/
Patch Set: Created 11 years, 9 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
« no previous file with comments | « chrome/browser/controller.cc ('k') | chrome/browser/render_widget_host_hwnd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/browser/controller.cc ('k') | chrome/browser/render_widget_host_hwnd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698