OLD | NEW |
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 // Handles the visible notification (or balloons). | 5 // Handles the visible notification (or balloons). |
6 | 6 |
7 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_IMPL_H_ | 7 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_IMPL_H_ |
8 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_IMPL_H_ | 8 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_IMPL_H_ |
9 #pragma once | |
10 | 9 |
11 #include <deque> | 10 #include <deque> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
15 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
16 #include "base/message_loop.h" | 15 #include "base/message_loop.h" |
17 #include "chrome/browser/notifications/balloon_collection.h" | 16 #include "chrome/browser/notifications/balloon_collection.h" |
18 #include "chrome/browser/notifications/balloon_collection_base.h" | 17 #include "chrome/browser/notifications/balloon_collection_base.h" |
19 #include "content/public/browser/notification_observer.h" | 18 #include "content/public/browser/notification_observer.h" |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 base::WeakPtrFactory<BalloonCollectionImpl> reposition_factory_; | 237 base::WeakPtrFactory<BalloonCollectionImpl> reposition_factory_; |
239 | 238 |
240 // Is the balloon collection currently listening for UI events? | 239 // Is the balloon collection currently listening for UI events? |
241 bool added_as_message_loop_observer_; | 240 bool added_as_message_loop_observer_; |
242 #endif | 241 #endif |
243 | 242 |
244 DISALLOW_COPY_AND_ASSIGN(BalloonCollectionImpl); | 243 DISALLOW_COPY_AND_ASSIGN(BalloonCollectionImpl); |
245 }; | 244 }; |
246 | 245 |
247 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_IMPL_H_ | 246 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_IMPL_H_ |
OLD | NEW |