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 ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_SMS_H | 5 #ifndef ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_SMS_H |
6 #define ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_SMS_H | 6 #define ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_SMS_H |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "ash/system/tray/system_tray_item.h" | 12 #include "ash/system/tray/system_tray_item.h" |
| 13 #include "base/macros.h" |
11 #include "base/values.h" | 14 #include "base/values.h" |
12 #include "chromeos/network/network_sms_handler.h" | 15 #include "chromeos/network/network_sms_handler.h" |
13 | 16 |
14 namespace ash { | 17 namespace ash { |
15 | 18 |
16 class TraySms : public SystemTrayItem, | 19 class TraySms : public SystemTrayItem, |
17 public chromeos::NetworkSmsHandler::Observer { | 20 public chromeos::NetworkSmsHandler::Observer { |
18 public: | 21 public: |
19 explicit TraySms(SystemTray* system_tray); | 22 explicit TraySms(SystemTray* system_tray); |
20 ~TraySms() override; | 23 ~TraySms() override; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 SmsDetailedView* detailed_; | 57 SmsDetailedView* detailed_; |
55 SmsNotificationView* notification_; | 58 SmsNotificationView* notification_; |
56 base::ListValue messages_; | 59 base::ListValue messages_; |
57 | 60 |
58 DISALLOW_COPY_AND_ASSIGN(TraySms); | 61 DISALLOW_COPY_AND_ASSIGN(TraySms); |
59 }; | 62 }; |
60 | 63 |
61 } // namespace ash | 64 } // namespace ash |
62 | 65 |
63 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_SMS_H | 66 #endif // ASH_SYSTEM_CHROMEOS_NETWORK_TRAY_SMS_H |
OLD | NEW |