tizen 2.3.1 release
[framework/web/mobile/wrt.git] / src / domain / message_support.h
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  *    Licensed under the Apache License, Version 2.0 (the "License");
5  *    you may not use this file except in compliance with the License.
6  *    You may obtain a copy of the License at
7  *
8  *        http://www.apache.org/licenses/LICENSE-2.0
9  *
10  *    Unless required by applicable law or agreed to in writing, software
11  *    distributed under the License is distributed on an "AS IS" BASIS,
12  *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  *    See the License for the specific language governing permissions and
14  *    limitations under the License.
15  */
16 /**
17  * @file    message_support.h
18  * @author  Lukasz Wrzosek (l.wrzosek@samsung.com)
19  * @author  Yunchan Cho (yunchan.cho@samsung.com)
20  * @brief   definition of messages between UI Process and Injected bundle
21  */
22 #ifndef WRT_SRC_DOMAIN_MESSAGE_SUPPORT_H_
23 #define WRT_SRC_DOMAIN_MESSAGE_SUPPORT_H_
24
25 #include <dpl/platform.h>
26
27 namespace Message {
28
29 namespace ToInjectedBundle {
30 const char * const INIT = "ToInjectedBundle::INIT";
31 const char * const START = "ToInjectedBundle::START";
32 const char * const SHUTDOWN = "ToInjectedBundle::SHUTDOWN";
33 const char * const SET_CUSTOM_PROPERTIES =
34     "ToInjectedBundle::SET_CUSTOM_PROPERTIES";
35 const char * const DISPATCH_JS_EVENT = "ToInjectedBundle::DISPATCH_JS_EVENT";
36 const char * const SET_XWINDOW_HANDLE = "ToInjectedBundle::SET_XWINDOW_HANDLE";
37 const char * const SET_VIEWMODES = "ToInjectedBundle::SET_VIEWMODES";
38 const char * const SET_VIEWMODES_MSGBODY_EXIT = "exit";
39 #if ENABLE(ONE_UI_PROCESS_MODEL)
40 const char * const RESET_AUL_CONNECTION = "ToInjectedBundle::RECONNECT";
41 const char * const REPLY_CLIENT = "ToInjectedBundle::REPLYCLIENT";
42 #endif
43 } // namespace ToInectedBundle
44
45 namespace ToUIProcess {
46 const char * const BLOCKED_URL = "ToUIProcess::BLOCKED_URL";
47 const char * const SEND_WEBPROCESS_PID = "ToUIProcess::SEND_WEBPROCESS_PID";
48 } // namespace ToUIProcess
49
50 namespace ToWebProcess {
51 const char * const CHANGE_CMDLINE = "ToWebProcess::ChangeCmdLine";
52 } // namespace ToWebProcess
53
54 namespace TizenScheme {
55 const char * const GET_WINDOW_HANDLE = "tizen://getWindowHandle";
56 const char * const CLEAR_ALL_COOKIES = "tizen://clearAllCookies";
57 } // namespace ToUIProcess
58
59 } //namespace Message
60
61 #endif // WRT_SRC_DOMAIN_MESSAGE_SUPPORT_H_