| Index: chrome/browser/chromeos/ui/kiosk_external_update_notification.h
|
| diff --git a/chrome/browser/chromeos/ui/kiosk_external_update_notification.h b/chrome/browser/chromeos/ui/kiosk_external_update_notification.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7d377a99e5923e0edfc2fde60e45273d28f8b484
|
| --- /dev/null
|
| +++ b/chrome/browser/chromeos/ui/kiosk_external_update_notification.h
|
| @@ -0,0 +1,36 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_CHROMEOS_UI_KIOSK_EXTERNAL_UPDATE_NOTIFICATION_H_
|
| +#define CHROME_BROWSER_CHROMEOS_UI_KIOSK_EXTERNAL_UPDATE_NOTIFICATION_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "base/strings/string16.h"
|
| +
|
| +namespace chromeos {
|
| +
|
| +class KioskExternalUpdateNotificationView;
|
| +
|
| +// Provides the UI showing kiosk external update status to admin.
|
| +class KioskExternalUpdateNotification {
|
| + public:
|
| + explicit KioskExternalUpdateNotification(const base::string16& message);
|
| + virtual ~KioskExternalUpdateNotification();
|
| +
|
| + void ShowMessage(const base::string16& message);
|
| +
|
| + // Dismisses the notication UI.
|
| + void Dismiss();
|
| +
|
| + private:
|
| + void CreateAndShowNotificationView(const base::string16& message);
|
| +
|
| + KioskExternalUpdateNotificationView* view_; // Owned by views hierarchy.
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(KioskExternalUpdateNotification);
|
| +};
|
| +
|
| +} // namespace chromeos
|
| +
|
| +#endif // CHROME_BROWSER_CHROMEOS_UI_KIOSK_EXTERNAL_UPDATE_NOTIFICATION_H_
|
|
|