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

Side by Side Diff: chrome/browser/chromeos/notifications/balloon_view.h

Issue 7003121: Replace ChromiumOS BalloonView Menu2 with MenuItemView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use top level widget and rebase to trunk. Created 9 years, 6 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
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 // Draws the view for the balloons. 5 // Draws the view for the balloons.
6 6
7 #ifndef CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_BALLOON_VIEW_H_ 7 #ifndef CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_BALLOON_VIEW_H_
8 #define CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_BALLOON_VIEW_H_ 8 #define CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_BALLOON_VIEW_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 "base/task.h" 13 #include "base/task.h"
14 #include "chrome/browser/notifications/balloon.h" 14 #include "chrome/browser/notifications/balloon.h"
15 #include "content/common/notification_observer.h" 15 #include "content/common/notification_observer.h"
16 #include "content/common/notification_registrar.h" 16 #include "content/common/notification_registrar.h"
17 #include "ui/gfx/path.h" 17 #include "ui/gfx/path.h"
18 #include "ui/gfx/point.h" 18 #include "ui/gfx/point.h"
19 #include "ui/gfx/rect.h" 19 #include "ui/gfx/rect.h"
20 #include "ui/gfx/size.h" 20 #include "ui/gfx/size.h"
21 #include "views/view.h" 21 #include "views/view.h"
22 22
23 namespace views { 23 namespace views {
24 class Menu2;
25 class MenuButton; 24 class MenuButton;
26 class MouseEvent; 25 class MouseEvent;
27 class TextButton; 26 class TextButton;
28 class Widget; 27 class Widget;
29 } // namespace views 28 } // namespace views
30 29
31 class Notification; 30 class Notification;
32 class NotificationDetails; 31 class NotificationDetails;
33 class NotificationSource; 32 class NotificationSource;
34 33
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 bool closed_; 122 bool closed_;
124 // True to enable WebUI in the notification. 123 // True to enable WebUI in the notification.
125 bool web_ui_; 124 bool web_ui_;
126 125
127 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); 126 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl);
128 }; 127 };
129 128
130 } // namespace chromeos 129 } // namespace chromeos
131 130
132 #endif // CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_BALLOON_VIEW_H_ 131 #endif // CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_BALLOON_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698