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

Side by Side Diff: samples/android_sample/jni/input_service.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
OLDNEW
(Empty)
1 #ifndef INPUTSERVICE_H
2 #define INPUTSERVICE_H
3
4 #include <android_native_app_glue.h>
5 #include "types.h"
6 #include "vm_glue.h"
7 #include "input_handler.h"
8
9 class InputService : public InputHandler {
10 public:
11 InputService(android_app* pApplication,
12 VMGlue* pVmGlue,
13 const int32_t& pWidth,
14 const int32_t& pHeight);
15 public:
16 int32_t start() ;
17 bool onTouchEvent(AInputEvent* pEvent);
18 bool onKeyEvent(AInputEvent* pEvent);
19 private:
20 android_app* mApplication;
21 VMGlue* mVmGlue;
22 const int32_t& mWidth, &mHeight;
23 };
24
25 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698