| Index: chrome/views/widget_win.h
|
| ===================================================================
|
| --- chrome/views/widget_win.h (revision 6119)
|
| +++ chrome/views/widget_win.h (working copy)
|
| @@ -9,6 +9,7 @@
|
| #include <atlcrack.h>
|
|
|
| #include "base/message_loop.h"
|
| +#include "base/system_monitor.h"
|
| #include "chrome/views/focus_manager.h"
|
| #include "chrome/views/layout_manager.h"
|
| #include "chrome/views/widget.h"
|
| @@ -410,6 +411,9 @@
|
| virtual LRESULT OnNotify(int w_param, NMHDR* l_param);
|
| virtual void OnPaint(HDC dc);
|
| virtual LRESULT OnPowerBroadcast(DWORD power_event, DWORD data) {
|
| + base::SystemMonitor* monitor = base::SystemMonitor::Get();
|
| + if (monitor)
|
| + monitor->ProcessWmPowerBroadcastMessage(power_event);
|
| SetMsgHandled(FALSE);
|
| return 0;
|
| }
|
|
|