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

Side by Side Diff: chrome/browser/ui/views/notifications/balloon_view.h

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real 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
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_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_ 7 #ifndef CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_
8 #define CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_ 8 #define CHROME_BROWSER_UI_VIEWS_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/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "chrome/browser/notifications/balloon.h" 14 #include "chrome/browser/notifications/balloon.h"
15 #include "chrome/browser/ui/views/notifications/balloon_view_host.h" 15 #include "chrome/browser/ui/views/notifications/balloon_view_host.h"
16 #include "content/public/browser/notification_registrar.h" 16 #include "content/public/browser/notification_registrar.h"
17 #include "ui/base/animation/animation_delegate.h" 17 #include "ui/base/animation/animation_delegate.h"
18 #include "ui/gfx/path.h" 18 #include "ui/gfx/path.h"
19 #include "ui/gfx/point.h" 19 #include "ui/gfx/point.h"
20 #include "ui/gfx/rect.h" 20 #include "ui/gfx/rect.h"
21 #include "ui/gfx/size.h" 21 #include "ui/gfx/size.h"
22 #include "ui/views/widget/widget_delegate.h"
22 #include "views/controls/button/menu_button.h" 23 #include "views/controls/button/menu_button.h"
23 #include "views/controls/label.h" 24 #include "views/controls/label.h"
24 #include "views/controls/menu/view_menu_delegate.h" 25 #include "views/controls/menu/view_menu_delegate.h"
25 #include "views/view.h" 26 #include "views/view.h"
26 #include "views/widget/widget_delegate.h"
27 27
28 class BalloonCollection; 28 class BalloonCollection;
29 class NotificationOptionsMenuModel; 29 class NotificationOptionsMenuModel;
30 30
31 namespace ui { 31 namespace ui {
32 class SlideAnimation; 32 class SlideAnimation;
33 } 33 }
34 34
35 namespace views { 35 namespace views {
36 class ButtonListener; 36 class ButtonListener;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 scoped_ptr<NotificationOptionsMenuModel> options_menu_model_; 154 scoped_ptr<NotificationOptionsMenuModel> options_menu_model_;
155 scoped_ptr<views::MenuRunner> menu_runner_; 155 scoped_ptr<views::MenuRunner> menu_runner_;
156 views::MenuButton* options_menu_button_; 156 views::MenuButton* options_menu_button_;
157 157
158 content::NotificationRegistrar notification_registrar_; 158 content::NotificationRegistrar notification_registrar_;
159 159
160 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); 160 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl);
161 }; 161 };
162 162
163 #endif // CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_ 163 #endif // CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/native_constrained_window_win.cc ('k') | chrome/browser/ui/views/notifications/balloon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698