1 // Copyright (c) 2013 Intel Corporation. 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 XWALK_RUNTIME_COMMON_XWALK_NOTIFICATION_TYPES_H_
6 #define XWALK_RUNTIME_COMMON_XWALK_NOTIFICATION_TYPES_H_
8 #include "build/build_config.h"
9 #include "content/public/browser/notification_types.h"
13 enum NotificationType {
14 NOTIFICATION_XWALK_START = content::NOTIFICATION_CONTENT_END,
16 // Notify that a new Runtime instance is created. The source is a
17 // Source<Runtime> containing the affected Runtime. No details is provided.
18 NOTIFICATION_RUNTIME_OPENED = NOTIFICATION_XWALK_START,
20 // Notify that a Runtime instance is close. The source is a Source<Runtime>
21 // containing the affected Runtime. No details is provided.
22 NOTIFICATION_RUNTIME_CLOSED,
24 // Notify that fullscreen state of a NativeAppWindow is changed.
25 NOTIFICATION_FULLSCREEN_CHANGED,
27 NOTIFICATION_XWALK_END,
32 #endif // XWALK_RUNTIME_COMMON_XWALK_NOTIFICATION_TYPES_H_