Index: tools/viewer/sk_app/android/surface_glue_android.h |
diff --git a/tools/viewer/sk_app/android/surface_glue_android.h b/tools/viewer/sk_app/android/surface_glue_android.h |
index aefe46208dcb202e109e09a5703abde9d7e7ed97..296112258e4ea5b3d92af374e90eb32e08f74a91 100644 |
--- a/tools/viewer/sk_app/android/surface_glue_android.h |
+++ b/tools/viewer/sk_app/android/surface_glue_android.h |
@@ -23,12 +23,14 @@ enum MessageType { |
kSurfaceChanged, |
kSurfaceDestroyed, |
kDestroyApp, |
- kContentInvalidated |
+ kContentInvalidated, |
+ kKeyPressed |
}; |
struct Message { |
MessageType fType = kUndefined; |
ANativeWindow* fNativeWindow = nullptr; |
+ int keycode = 0; |
Message() {} |
Message(MessageType t) : fType(t) {} |