blob: b183a534f88f8c822e0aeb9a95ce4afefc0d50fb [file] [log] [blame]
// Copyright 2022 The Fuchsia 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 SRC_EMBEDDER_PLATFORM_MESSAGE_CHANNELS_H_
#define SRC_EMBEDDER_PLATFORM_MESSAGE_CHANNELS_H_
namespace embedder {
/// Platform messages sent from the flutter engine include a
/// channel to indicate what type of message they are.
// Accessibility channel.
constexpr char kAccessibilityChannel[] = "flutter/accessibility";
// Key data channel for sending key input events. This is the preferred
// channel for sending these events in the future and flutter/keyevent will
// be deprecated. For now, we implement both.
constexpr char kKeyDataChannel[] = "flutter/keydata";
/// The channel name used for key event platform messages. This chanel is used for sending raw
/// native events and will be deprecated in the future.
constexpr char kKeyEventChannel[] = "flutter/keyevent";
/// The channel name used for text editing platform messages.
constexpr char kTextInputChannel[] = "flutter/textinput";
} // namespace embedder
#endif // SRC_EMBEDDER_PLATFORM_MESSAGE_CHANNELS_H_