OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_NOTIFICATIONS_BALLOON_VIEW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_VIEWS_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 // views::MenuButtonListener interface. | 67 // views::MenuButtonListener interface. |
68 virtual void OnMenuButtonClicked(views::View* source, | 68 virtual void OnMenuButtonClicked(views::View* source, |
69 const gfx::Point& point) OVERRIDE; | 69 const gfx::Point& point) OVERRIDE; |
70 | 70 |
71 // views::WidgetDelegate interface. | 71 // views::WidgetDelegate interface. |
72 virtual void OnDisplayChanged() OVERRIDE; | 72 virtual void OnDisplayChanged() OVERRIDE; |
73 virtual void OnWorkAreaChanged() OVERRIDE; | 73 virtual void OnWorkAreaChanged() OVERRIDE; |
74 | 74 |
75 // views::ButtonListener interface. | 75 // views::ButtonListener interface. |
76 virtual void ButtonPressed(views::Button* sender, | 76 virtual void ButtonPressed(views::Button* sender, |
77 const views::Event&) OVERRIDE; | 77 const ui::Event&) OVERRIDE; |
78 | 78 |
79 // content::NotificationObserver interface. | 79 // content::NotificationObserver interface. |
80 virtual void Observe(int type, | 80 virtual void Observe(int type, |
81 const content::NotificationSource& source, | 81 const content::NotificationSource& source, |
82 const content::NotificationDetails& details) OVERRIDE; | 82 const content::NotificationDetails& details) OVERRIDE; |
83 | 83 |
84 // ui::AnimationDelegate interface. | 84 // ui::AnimationDelegate interface. |
85 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; | 85 virtual void AnimationProgressed(const ui::Animation* animation) OVERRIDE; |
86 | 86 |
87 // Initializes the options menu. | 87 // Initializes the options menu. |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 158 |
159 content::NotificationRegistrar notification_registrar_; | 159 content::NotificationRegistrar notification_registrar_; |
160 | 160 |
161 // Set to true if this is browser generate web UI. | 161 // Set to true if this is browser generate web UI. |
162 bool enable_web_ui_; | 162 bool enable_web_ui_; |
163 | 163 |
164 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); | 164 DISALLOW_COPY_AND_ASSIGN(BalloonViewImpl); |
165 }; | 165 }; |
166 | 166 |
167 #endif // CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_VIEWS_H_ | 167 #endif // CHROME_BROWSER_UI_VIEWS_NOTIFICATIONS_BALLOON_VIEW_VIEWS_H_ |
OLD | NEW |