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

Side by Side Diff: runtime/embedders/android/input_handler.h

Issue 11467028: Migrate files to embedder. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge and lint fixes Created 7 years, 11 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 #ifndef EMBEDDERS_ANDROID_INPUT_HANDLER_H_
6 #define EMBEDDERS_ANDROID_INPUT_HANDLER_H_
7
8 #include <android/input.h>
9
10 class InputHandler {
11 public:
12 virtual int32_t Start() { return 0; }
13 virtual bool OnTouchEvent(AInputEvent* event) = 0;
14 virtual bool OnKeyEvent(AInputEvent* event) = 0;
15 virtual ~InputHandler() {}
16 };
17
18 #endif // EMBEDDERS_ANDROID_INPUT_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698