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

Side by Side Diff: samples/android_sample/jni/input_handler.h

Issue 11434046: Android rayshader sample. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « samples/android_sample/jni/graphics.cc ('k') | samples/android_sample/jni/input_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef INPUTHANDLER_H
2 #define INPUTHANDLER_H
3
4 #include <android/input.h>
5
6 class InputHandler {
7 public:
8 virtual int32_t Start() {}
9 virtual bool OnTouchEvent(AInputEvent* event) = 0;
10 virtual bool OnKeyEvent(AInputEvent* event) = 0;
11 virtual ~InputHandler() {}
12 };
13
14 #endif
15
OLDNEW
« no previous file with comments | « samples/android_sample/jni/graphics.cc ('k') | samples/android_sample/jni/input_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698