Index: include/views/SkOSWindow_Unix.h |
diff --git a/include/views/SkOSWindow_Unix.h b/include/views/SkOSWindow_Unix.h |
index 89265a4367ab2195d06fd7104ea4c5df6e2bfbc5..8a55ef455ef1f98892345a4d11efba03718a8b74 100644 |
--- a/include/views/SkOSWindow_Unix.h |
+++ b/include/views/SkOSWindow_Unix.h |
@@ -32,7 +32,6 @@ public: |
void* getDisplay() const { return (void*)fUnixWindow.fDisplay; } |
void* getUnixWindow() const { return (void*)&fUnixWindow; } |
void loop(); |
- void post_linuxevent(); |
enum SkBackEndTypes { |
kNone_BackEndType, |
@@ -54,14 +53,16 @@ public: |
protected: |
// Overridden from from SkWindow: |
- virtual bool onEvent(const SkEvent&) SK_OVERRIDE; |
- virtual void onHandleInval(const SkIRect&) SK_OVERRIDE; |
- virtual bool onHandleChar(SkUnichar) SK_OVERRIDE; |
- virtual bool onHandleKey(SkKey) SK_OVERRIDE; |
- virtual bool onHandleKeyUp(SkKey) SK_OVERRIDE; |
virtual void onSetTitle(const char title[]) SK_OVERRIDE; |
private: |
+ enum NextXEventResult { |
+ kContinue_NextXEventResult, |
+ kQuitRequest_NextXEventResult, |
+ kPaintRequest_NextXEventResult |
+ }; |
+ |
+ NextXEventResult nextXEvent(); |
void doPaint(); |
void mapWindowAndWait(); |