1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_UI_KIOSK_EXTERNAL_UPDATE_NOTIFICATION_H_
6 #define CHROME_BROWSER_CHROMEOS_UI_KIOSK_EXTERNAL_UPDATE_NOTIFICATION_H_
8 #include "base/macros.h"
9 #include "base/strings/string16.h"
13 class KioskExternalUpdateNotificationView
;
15 // Provides the UI showing kiosk external update status to admin.
16 class KioskExternalUpdateNotification
{
18 explicit KioskExternalUpdateNotification(const base::string16
& message
);
19 virtual ~KioskExternalUpdateNotification();
21 void ShowMessage(const base::string16
& message
);
24 friend class KioskExternalUpdateNotificationView
;
26 void CreateAndShowNotificationView(const base::string16
& message
);
28 KioskExternalUpdateNotificationView
* view_
; // Owned by views hierarchy.
30 DISALLOW_COPY_AND_ASSIGN(KioskExternalUpdateNotification
);
33 } // namespace chromeos
35 #endif // CHROME_BROWSER_CHROMEOS_UI_KIOSK_EXTERNAL_UPDATE_NOTIFICATION_H_