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

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

Issue 8355042: aura: Use the existing notification system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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_views.cc
diff --git a/chrome/browser/notifications/balloon_collection_views.cc b/chrome/browser/notifications/balloon_collection_views.cc
index 3c5e6acc4f2afe17a1ad54f9bfaac378ae668a3b..1e9b0348c749749c72afeb1884d0d52071e313ec 100644
--- a/chrome/browser/notifications/balloon_collection_views.cc
+++ b/chrome/browser/notifications/balloon_collection_views.cc
@@ -49,6 +49,16 @@ void BalloonCollectionImpl::DidProcessEvent(const base::NativeEvent& event) {
HandleMouseMoveEvent();
break;
}
+#elif defined(USE_AURA)
Ben Goodger (Google) 2011/11/01 16:18:50 You will need to do this first, otherwise it won't
sadrul 2011/11/01 16:21:20 I think the above code is right even on WIN + AURA
Ben Goodger (Google) 2011/11/01 16:30:14 OK, can you note that the OS_WIN code is fine for
sadrul 2011/11/01 17:06:22 Done.
+ switch (ui::EventTypeFromNative(event)) {
+ case ui::ET_MOUSE_MOVED:
+ case ui::ET_MOUSE_DRAGGED:
+ case ui::ET_MOUSE_EXITED:
+ HandleMouseMoveEvent();
+ break;
+ default:
+ break;
+ }
#else
NOTIMPLEMENTED();
#endif
« no previous file with comments | « chrome/browser/chromeos/cros_stubs_aura.cc ('k') | chrome/browser/ui/views/notifications/balloon_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698