blob: a47ee8eb7e8da33b82b42de05661c2479693829e [file] [log] [blame]
// Copyright 2016 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.
#include <jni.h>
#include "base/android/scoped_java_ref.h"
#include "ui/events/events_export.h"
namespace ui {
namespace events {
namespace android {
EVENTS_EXPORT base::android::ScopedJavaLocalRef<jobject>
CreateKeyEvent(JNIEnv* env, int action, int key_code);
EVENTS_EXPORT int GetKeyEventUnicodeChar(
JNIEnv* env,
const base::android::JavaRef<jobject>& event,
int meta_state);
} // namespace android
} // namespace events
} // namespace ui