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

Side by Side Diff: chrome/browser/notifications/balloon_collection.h

Issue 6995007: iwyu: Use callback_old.h where appropriate, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/icon_manager.h ('k') | chrome/browser/password_manager/password_store.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_H_ 7 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_H_
8 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_H_ 8 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_H_
9 #pragma once 9 #pragma once
10 10
11 #include <deque> 11 #include <deque>
12 #include <string> 12 #include <string>
13 13
14 #include "base/callback.h" 14 #include "base/callback_old.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 16
17 class Balloon; 17 class Balloon;
18 class GURL; 18 class GURL;
19 class Notification; 19 class Notification;
20 class Profile; 20 class Profile;
21 21
22 namespace gfx { 22 namespace gfx {
23 class Size; 23 class Size;
24 } // namespace gfx 24 } // namespace gfx
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 protected: 100 protected:
101 // Non-owned pointer to an object listening for space changes. 101 // Non-owned pointer to an object listening for space changes.
102 BalloonSpaceChangeListener* space_change_listener_; 102 BalloonSpaceChangeListener* space_change_listener_;
103 103
104 // For use only with testing. This callback is invoked when a balloon 104 // For use only with testing. This callback is invoked when a balloon
105 // is added or removed from the collection. 105 // is added or removed from the collection.
106 scoped_ptr<Callback0::Type> on_collection_changed_callback_; 106 scoped_ptr<Callback0::Type> on_collection_changed_callback_;
107 }; 107 };
108 108
109 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_H_ 109 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_H_
OLDNEW
« no previous file with comments | « chrome/browser/icon_manager.h ('k') | chrome/browser/password_manager/password_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698