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

Unified Diff: chrome/browser/notifications/balloon_collection_win.cc

Issue 8021009: Consolidate message observer API for win and aura (and touch). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed msw's comments Created 9 years, 3 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
Index: chrome/browser/notifications/balloon_collection_win.cc
diff --git a/chrome/browser/notifications/balloon_collection_win.cc b/chrome/browser/notifications/balloon_collection_win.cc
index 821b5f4b31c9eca2f8b67d70a71b780ccae1ebce..09fd9e1eb4fd74764cc936f1dd3fab05996b8133 100644
--- a/chrome/browser/notifications/balloon_collection_win.cc
+++ b/chrome/browser/notifications/balloon_collection_win.cc
@@ -33,7 +33,12 @@ void BalloonCollectionImpl::PositionBalloons(bool reposition) {
PositionBalloonsInternal(reposition);
}
-void BalloonCollectionImpl::DidProcessMessage(const MSG& msg) {
+base::EventStatus BalloonCollectionImpl::WillProcessEvent(
+ const base::NativeEvent& event) {
+ return base::EVENT_CONTINUE;
+}
+
+void BalloonCollectionImpl::DidProcessEvent(const base::NativeEvent& event) {
switch (msg.message) {
msw 2011/09/27 03:51:42 This should be event.message... I'd expect you'd s
oshima 2011/09/27 16:39:39 Done.
case WM_MOUSEMOVE:
case WM_MOUSELEAVE:

Powered by Google App Engine
This is Rietveld 408576698