| Index: ui/web_dialogs/web_dialog_notification_types.h
|
| ===================================================================
|
| --- ui/web_dialogs/web_dialog_notification_types.h (revision 0)
|
| +++ ui/web_dialogs/web_dialog_notification_types.h (revision 0)
|
| @@ -0,0 +1,31 @@
|
| +// Copyright (c) 2012 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 UI_WEB_DIALOGS_WEB_DIALOG_NOTIFICATION_TYPES_H_
|
| +#define UI_WEB_DIALOGS_WEB_DIALOG_NOTIFICATION_TYPES_H_
|
| +#pragma once
|
| +
|
| +#include "content/public/browser/notification_types.h"
|
| +
|
| +namespace web_dialogs {
|
| +
|
| +enum NotificationType {
|
| + NOTIFICATION_WEB_DIALOGS_START = content::NOTIFICATION_CONTENT_END,
|
| +
|
| + // Sent after an WebDialog dialog has been shown. The source is the
|
| + // dialog. The details is a Details<RenderViewHost> with a pointer to the RVH
|
| + // for the shown dialog.
|
| + NOTIFICATION_WEB_DIALOG_SHOWN = NOTIFICATION_WEB_DIALOGS_START,
|
| +
|
| + // Note:-
|
| + // Currently only Content, Chrome and WebDialogs define and use notifications.
|
| + // Custom notifications should start from chrome::NOTIFICATION_CHROME_END,
|
| + // not from here.
|
| + NOTIFICATION_WEB_DIALOGS_END,
|
| +};
|
| +
|
| +} // namespace web_dialogs
|
| +
|
| +
|
| +#endif // UI_WEB_DIALOGS_WEB_DIALOG_NOTIFICATION_TYPES_H_
|
|
|