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

Side by Side Diff: chrome/browser/ui/views/message_center/message_center_widget_delegate.h

Issue 23531053: ui/base/animation -> ui/gfx/animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 2 trunk Created 7 years, 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_MESSAGE_CENTER_WIDGET_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_MESSAGE_CENTER_WIDGET_DELEGATE_H_
6 #define CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_MESSAGE_CENTER_WIDGET_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_MESSAGE_CENTER_WIDGET_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "chrome/browser/ui/views/message_center/web_notification_tray.h" 11 #include "chrome/browser/ui/views/message_center/web_notification_tray.h"
12 #include "ui/base/animation/animation_delegate.h"
13 #include "ui/base/animation/slide_animation.h"
14 #include "ui/gfx/point.h" 12 #include "ui/gfx/point.h"
15 #include "ui/gfx/rect.h" 13 #include "ui/gfx/rect.h"
16 #include "ui/message_center/message_center.h" 14 #include "ui/message_center/message_center.h"
17 #include "ui/message_center/message_center_tray.h" 15 #include "ui/message_center/message_center_tray.h"
18 #include "ui/message_center/message_center_tray_delegate.h" 16 #include "ui/message_center/message_center_tray_delegate.h"
19 #include "ui/message_center/views/message_center_view.h" 17 #include "ui/message_center/views/message_center_view.h"
20 #include "ui/views/widget/widget_delegate.h" 18 #include "ui/views/widget/widget_delegate.h"
21 #include "ui/views/widget/widget_observer.h" 19 #include "ui/views/widget/widget_observer.h"
22 20
23 namespace ui {
24 class SlideAnimation;
25 class AnimationDelegate;
26 }
27
28 namespace message_center { 21 namespace message_center {
29 22
30 enum Alignment { 23 enum Alignment {
31 ALIGNMENT_TOP = 1 << 0, 24 ALIGNMENT_TOP = 1 << 0,
32 ALIGNMENT_LEFT = 1 << 1, 25 ALIGNMENT_LEFT = 1 << 1,
33 ALIGNMENT_BOTTOM = 1 << 2, 26 ALIGNMENT_BOTTOM = 1 << 2,
34 ALIGNMENT_RIGHT = 1 << 3, 27 ALIGNMENT_RIGHT = 1 << 3,
35 ALIGNMENT_NONE = 1 << 4, 28 ALIGNMENT_NONE = 1 << 4,
36 }; 29 };
37 30
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 97
105 // Info necessary to calculate the estimated position of the message center. 98 // Info necessary to calculate the estimated position of the message center.
106 PositionInfo pos_info_; 99 PositionInfo pos_info_;
107 100
108 WebNotificationTray* tray_; 101 WebNotificationTray* tray_;
109 }; 102 };
110 103
111 } // namespace message_center 104 } // namespace message_center
112 105
113 #endif // CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_MESSAGE_CENTER_WIDGET_DELEGATE _H_ 106 #endif // CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_MESSAGE_CENTER_WIDGET_DELEGATE _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698