1 // Copyright (c) 2012 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 WEBKIT_GLUE_WEB_INTENT_REPLY_DATA_H_
6 #define WEBKIT_GLUE_WEB_INTENT_REPLY_DATA_H_
8 #include "base/string16.h"
10 namespace webkit_glue
{
12 // Constant values use to indicate what type of reply the caller is getting from
13 // the web intents service page.
14 enum WebIntentReplyType
{
15 // Invalid type. Use to initialize reply types.
16 WEB_INTENT_REPLY_INVALID
,
18 // Sent for a reply message (success).
19 WEB_INTENT_REPLY_SUCCESS
,
21 // Sent for a failure message.
22 WEB_INTENT_REPLY_FAILURE
,
24 // Sent if the picker is cancelled without a selection being made.
25 WEB_INTENT_PICKER_CANCELLED
,
27 // Sent if the service contents is closed without any response being sent.
28 WEB_INTENT_SERVICE_CONTENTS_CLOSED
,
31 } // namespace webkit_glue
33 #endif // WEBKIT_GLUE_WEB_INTENT_REPLY_DATA_H_