Chromium Code Reviews| Index: base/message_pump_win.h |
| diff --git a/base/message_pump_win.h b/base/message_pump_win.h |
| index e778e01fb2abab53971dd93b3cdb9780e080cecb..55a5d1eb499c36315c8b8a9f82df3e7215babb8c 100644 |
| --- a/base/message_pump_win.h |
| +++ b/base/message_pump_win.h |
| @@ -11,6 +11,7 @@ |
| #include "base/base_export.h" |
| #include "base/basictypes.h" |
| +#include "base/memory/scoped_ptr.h" |
| #include "base/message_pump.h" |
| #include "base/message_pump_dispatcher.h" |
| #include "base/message_pump_observer.h" |
| @@ -124,6 +125,8 @@ class BASE_EXPORT MessagePumpWin : public MessagePump { |
| // an excellent choice. It is also helpful that the starter messages that are |
| // placed in the queue when new task arrive also awakens DoRunLoop. |
| // |
| +class MessagePumpTSFInternal; |
|
Yohei Yukawa
2012/08/15 09:10:49
Any ideas for this class name?
yoichio
2012/08/16 02:33:04
Done.
|
| + |
| class BASE_EXPORT MessagePumpForUI : public MessagePumpWin { |
| public: |
| // The application-defined code passed to the hook procedure. |
| @@ -152,12 +155,15 @@ class BASE_EXPORT MessagePumpForUI : public MessagePumpWin { |
| bool ProcessNextWindowsMessage(); |
| bool ProcessMessageHelper(const MSG& msg); |
| bool ProcessPumpReplacementMessage(); |
| - |
| + bool MessagePumpForUI::PeekMessageInternal( |
|
Yohei Yukawa
2012/08/15 09:10:49
How about ProcessPeekMessage?
yoichio
2012/08/16 02:33:04
Done.
|
| + MSG* msg, HWND hwnd, UINT wmin, UINT wmax, UINT wmsg); |
|
Yohei Yukawa
2012/08/15 09:10:49
nit: indent.
yoichio
2012/08/16 02:33:04
Done.
|
| // Instance of the module containing the window procedure. |
| HMODULE instance_; |
| // A hidden message-only window. |
| HWND message_hwnd_; |
| + |
| + scoped_ptr<MessagePumpTSFInternal> tsf_message_pump_; |
| }; |
| //----------------------------------------------------------------------------- |