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

Side by Side Diff: chrome/browser/ui/views/ash/balloon_collection_impl_ash.h

Issue 11229022: Move ash/system/web_notification message_center to ui/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again. Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_COLLECTION_IMPL_ASH_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_COLLECTION_IMPL_ASH_H_
6 #define CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_COLLECTION_IMPL_ASH_H_ 6 #define CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_COLLECTION_IMPL_ASH_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "ash/system/web_notification/message_center.h"
11 #include "chrome/browser/chromeos/notifications/balloon_view_host_chromeos.h" / / MessageCallback 10 #include "chrome/browser/chromeos/notifications/balloon_view_host_chromeos.h" / / MessageCallback
12 #include "chrome/browser/notifications/balloon_collection_impl.h" 11 #include "chrome/browser/notifications/balloon_collection_impl.h"
12 #include "ui/message_center/message_center.h"
13 13
14 // Wrapper on top of ::BalloonCollectionImpl to provide integration between 14 // Wrapper on top of ::BalloonCollectionImpl to provide integration between
15 // the Chrome notification UI and Ash notifications (ash::WebNotificationTray). 15 // the Chrome notification UI and Ash notifications (ash::WebNotificationTray).
16 class BalloonCollectionImplAsh 16 class BalloonCollectionImplAsh
17 : public BalloonCollectionImpl, 17 : public BalloonCollectionImpl,
18 public message_center::MessageCenter::Delegate { 18 public message_center::MessageCenter::Delegate {
19 public: 19 public:
20 BalloonCollectionImplAsh(); 20 BalloonCollectionImplAsh();
21 virtual ~BalloonCollectionImplAsh(); 21 virtual ~BalloonCollectionImplAsh();
22 22
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 virtual Balloon* MakeBalloon(const Notification& notification, 59 virtual Balloon* MakeBalloon(const Notification& notification,
60 Profile* profile) OVERRIDE; 60 Profile* profile) OVERRIDE;
61 61
62 const extensions::Extension* GetBalloonExtension(Balloon* balloon); 62 const extensions::Extension* GetBalloonExtension(Balloon* balloon);
63 63
64 private: 64 private:
65 DISALLOW_COPY_AND_ASSIGN(BalloonCollectionImplAsh); 65 DISALLOW_COPY_AND_ASSIGN(BalloonCollectionImplAsh);
66 }; 66 };
67 67
68 #endif // CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_COLLECTION_IMPL_ASH_H_ 68 #endif // CHROME_BROWSER_UI_VIEWS_ASH_BALLOON_COLLECTION_IMPL_ASH_H_
OLDNEW
« no previous file with comments | « ash/wm/gestures/tray_gesture_handler.cc ('k') | chrome/browser/ui/views/ash/balloon_view_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698