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

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

Issue 8539006: Cleanup: Remove unneeded forward declarations from various chrome/browser subdirectories. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 9 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
« no previous file with comments | « chrome/browser/net/net_pref_observer.h ('k') | chrome/browser/notifications/balloon_host.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_H_ 7 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_H_
8 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_H_ 8 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_H_
9 #pragma once 9 #pragma once
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "ui/gfx/point.h" 13 #include "ui/gfx/point.h"
14 #include "ui/gfx/rect.h" 14 #include "ui/gfx/rect.h"
15 #include "ui/gfx/size.h" 15 #include "ui/gfx/size.h"
16 16
17 class Balloon; 17 class Balloon;
18 class BalloonCollection; 18 class BalloonCollection;
19 class BalloonHost; 19 class BalloonHost;
20 class Notification; 20 class Notification;
21 class Profile; 21 class Profile;
22 class SiteInstance;
23 22
24 // Interface for a view that displays a balloon. 23 // Interface for a view that displays a balloon.
25 class BalloonView { 24 class BalloonView {
26 public: 25 public:
27 virtual ~BalloonView() { } 26 virtual ~BalloonView() { }
28 27
29 // Show the view on the screen. 28 // Show the view on the screen.
30 virtual void Show(Balloon* balloon) = 0; 29 virtual void Show(Balloon* balloon) = 0;
31 30
32 // Notify that the content of notification has chagned. 31 // Notify that the content of notification has chagned.
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // position for keeping the close buttons under the mouse cursor. 128 // position for keeping the close buttons under the mouse cursor.
130 gfx::Point offset_; 129 gfx::Point offset_;
131 130
132 // Smallest size for this balloon where scrollbars will be shown. 131 // Smallest size for this balloon where scrollbars will be shown.
133 gfx::Size min_scrollbar_size_; 132 gfx::Size min_scrollbar_size_;
134 133
135 DISALLOW_COPY_AND_ASSIGN(Balloon); 134 DISALLOW_COPY_AND_ASSIGN(Balloon);
136 }; 135 };
137 136
138 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_H_ 137 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/net_pref_observer.h ('k') | chrome/browser/notifications/balloon_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698