Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Unified Diff: ui/android/event_handler.h

Issue 2502763003: Introduce ViewRoot to forward input/view events to native (Closed)
Patch Set: addressed comments Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/android/event_handler.h
diff --git a/ui/android/event_handler.h b/ui/android/event_handler.h
new file mode 100644
index 0000000000000000000000000000000000000000..9df74a4a8ce4ada6e8f1b8ac22a4d585b26b0be0
--- /dev/null
+++ b/ui/android/event_handler.h
@@ -0,0 +1,22 @@
+// 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.
+
+#ifndef UI_ANDROID_EVENT_HANDLER_H_
+#define UI_ANDROID_EVENT_HANDLER_H_
+
+#include <jni.h>
+
+#include "base/android/jni_android.h"
+
+namespace ui {
+
+void OnDestroyNativeView(
boliu 2016/12/08 05:01:06 ok... this really implies this .h/cc files should
Jinsuk Kim 2016/12/13 23:20:38 Done.
+ JNIEnv* env,
+ const base::android::ScopedJavaLocalRef<jobject>& event_handler);
+
+bool RegisterEventHandler(JNIEnv* env);
+
+} // namespace ui
+
+#endif // UI_ANDROID_EVENT_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698