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

Unified Diff: runtime/embedders/openglui/android/eventloop.h

Issue 12340036: Android improvements: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: runtime/embedders/openglui/android/eventloop.h
===================================================================
--- runtime/embedders/openglui/android/eventloop.h (revision 18917)
+++ runtime/embedders/openglui/android/eventloop.h (working copy)
@@ -17,8 +17,6 @@
InputHandler* input_handler);
protected:
- void Activate();
- void Deactivate();
void ProcessActivityEvent(int32_t command);
int32_t ProcessInputEvent(AInputEvent* event);
bool OnTouchEvent(AInputEvent* event);
@@ -28,8 +26,8 @@
static int32_t InputCallback(android_app* application, AInputEvent* event);
private:
- bool enabled_;
- bool quit_;
+ bool enabled_, quit_;
+ bool isResumed_, hasSurface_, hasFocus_;
android_app* application_;
LifeCycleHandler* lifecycle_handler_;
InputHandler* input_handler_;

Powered by Google App Engine
This is Rietveld 408576698