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 #include "ash/system/chromeos/enterprise/tray_enterprise.h" | 5 #include "ash/system/chromeos/enterprise/tray_enterprise.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/system/chromeos/label_tray_view.h" | 8 #include "ash/system/chromeos/label_tray_view.h" |
| 9 #include "ash/system/tray/system_tray_delegate.h" |
9 #include "ash/system/tray/system_tray_notifier.h" | 10 #include "ash/system/tray/system_tray_notifier.h" |
10 #include "ash/system/user/login_status.h" | 11 #include "ash/system/user/login_status.h" |
11 #include "base/logging.h" | 12 #include "base/logging.h" |
12 #include "grit/ash_resources.h" | 13 #include "grit/ash_resources.h" |
13 | 14 |
14 namespace ash { | 15 namespace ash { |
15 | 16 |
16 TrayEnterprise::TrayEnterprise(SystemTray* system_tray) | 17 TrayEnterprise::TrayEnterprise(SystemTray* system_tray) |
17 : SystemTrayItem(system_tray), | 18 : SystemTrayItem(system_tray), |
18 tray_view_(NULL) { | 19 tray_view_(NULL) { |
(...skipping 30 matching lines...) Expand all Loading... |
49 | 50 |
50 void TrayEnterprise::OnEnterpriseDomainChanged() { | 51 void TrayEnterprise::OnEnterpriseDomainChanged() { |
51 UpdateEnterpriseMessage(); | 52 UpdateEnterpriseMessage(); |
52 } | 53 } |
53 | 54 |
54 void TrayEnterprise::OnViewClicked(views::View* sender) { | 55 void TrayEnterprise::OnViewClicked(views::View* sender) { |
55 Shell::GetInstance()->system_tray_delegate()->ShowEnterpriseInfo(); | 56 Shell::GetInstance()->system_tray_delegate()->ShowEnterpriseInfo(); |
56 } | 57 } |
57 | 58 |
58 } // namespace ash | 59 } // namespace ash |
OLD | NEW |