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

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: comment 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..c436df88881758b3090fd7f79486ebad823b81fe 100644
--- a/chrome/browser/notifications/balloon_collection_views.cc
+++ b/chrome/browser/notifications/balloon_collection_views.cc
@@ -49,6 +49,18 @@ void BalloonCollectionImpl::DidProcessEvent(const base::NativeEvent& event) {
HandleMouseMoveEvent();
break;
}
+#elif defined(USE_AURA)
+ // This is deliberately used only in linux. For an aura build on windows, the
+ // above block of code is fine.
+ 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