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

Unified Diff: base/message_pump_win.h

Issue 10826223: Replace PeekMessage for TSF awareness (Closed) Base URL: http://git.chromium.org/chromium/src.git@yukawa
Patch Set: modify member name Created 8 years, 4 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 | « no previous file | base/message_pump_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
};
//-----------------------------------------------------------------------------
« no previous file with comments | « no previous file | base/message_pump_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698