OLD | NEW |
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_WEB_NOTIFICATION_TRAY_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_WEB_NOTIFICATION_TRAY_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_WEB_NOTIFICATION_TRAY_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_WEB_NOTIFICATION_TRAY_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "base/prefs/pref_member.h" | 9 #include "base/prefs/pref_member.h" |
10 #include "chrome/browser/status_icons/status_icon_menu_model.h" | 10 #include "chrome/browser/status_icons/status_icon_menu_model.h" |
11 #include "chrome/browser/status_icons/status_icon_observer.h" | 11 #include "chrome/browser/status_icons/status_icon_observer.h" |
12 #include "chrome/browser/ui/views/message_center/message_center_widget_delegate.
h" | 12 #include "chrome/browser/ui/views/message_center/message_center_widget_delegate.
h" |
13 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
14 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
15 #include "ui/base/models/simple_menu_model.h" | 15 #include "ui/base/models/simple_menu_model.h" |
16 #include "ui/gfx/rect.h" | 16 #include "ui/gfx/geometry/rect.h" |
17 #include "ui/message_center/message_center_tray.h" | 17 #include "ui/message_center/message_center_tray.h" |
18 #include "ui/message_center/message_center_tray_delegate.h" | 18 #include "ui/message_center/message_center_tray_delegate.h" |
19 #include "ui/views/widget/widget_observer.h" | 19 #include "ui/views/widget/widget_observer.h" |
20 | 20 |
21 #if defined(OS_WIN) | 21 #if defined(OS_WIN) |
22 #include "base/threading/thread.h" | 22 #include "base/threading/thread.h" |
23 #endif | 23 #endif |
24 | 24 |
25 class PrefService; | 25 class PrefService; |
26 class StatusIcon; | 26 class StatusIcon; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 bool should_update_tray_content_; | 124 bool should_update_tray_content_; |
125 bool last_quiet_mode_state_; | 125 bool last_quiet_mode_state_; |
126 base::string16 title_; | 126 base::string16 title_; |
127 | 127 |
128 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); | 128 DISALLOW_COPY_AND_ASSIGN(WebNotificationTray); |
129 }; | 129 }; |
130 | 130 |
131 } // namespace message_center | 131 } // namespace message_center |
132 | 132 |
133 #endif // CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_WEB_NOTIFICATION_TRAY_H_ | 133 #endif // CHROME_BROWSER_UI_VIEWS_MESSAGE_CENTER_WEB_NOTIFICATION_TRAY_H_ |
OLD | NEW |