blob: 70a65ff97eb0e543e998e8624a879e23ca189196 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Copyright (c) 2011 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 WEBKIT_GLUE_WEB_INTENT_REPLY_DATA_H_
#define WEBKIT_GLUE_WEB_INTENT_REPLY_DATA_H_
#include "base/string16.h"
namespace webkit_glue {
// Constant values use to indicate what type of reply the caller is getting from
// the web intents service page.
enum WebIntentReplyType {
// Sent for a reply message (success).
WEB_INTENT_REPLY_SUCCESS,
// Sent for a failure message.
WEB_INTENT_REPLY_FAILURE,
// Sent if the picker is cancelled without a selection being made.
WEB_INTENT_PICKER_CANCELLED,
// Sent if the service tab is closed without any response being sent.
WEB_INTENT_SERVICE_TAB_CLOSED,
};
} // namespace webkit_glue
#endif // WEBKIT_GLUE_WEB_INTENT_REPLY_DATA_H_
|