aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar tfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-01 16:14:21 +0000
committerGravatar tfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-01 16:14:21 +0000
commit887760f60be146fdefa6b386f80677b540a9f279 (patch)
tree9aab60000b4e14e646ed14b495efc9817a4b1f41
parent6ac79dc9da8c8d336d8352ccdfb40991167fb1e5 (diff)
views: Fix a typo in SkEvent.h
WndProc is not implemented by unix/linux and does not even compile fixing the typoe, so just remove these function declarations. R=bsalomon@google.com Review URL: https://codereview.appspot.com/6561062 git-svn-id: http://skia.googlecode.com/svn/trunk@5749 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--include/views/SkEvent.h5
-rw-r--r--include/views/SkOSWindow_Unix.h2
2 files changed, 1 insertions, 6 deletions
diff --git a/include/views/SkEvent.h b/include/views/SkEvent.h
index bf0c011073..f4df4482bf 100644
--- a/include/views/SkEvent.h
+++ b/include/views/SkEvent.h
@@ -256,11 +256,8 @@ public:
*/
static void SignalQueueTimer(SkMSec delay);
-#ifdef SK_BUILD_FOR_WIN
+#if defined(SK_BUILD_FOR_WIN)
static bool WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
-#elif defined(SK_BUILD_FOR_UNIXx)
- static uint32_t HandleTimer(uint32_t, void*);
- static bool WndProc(Display*, Window, XEvent&);
#endif
private:
diff --git a/include/views/SkOSWindow_Unix.h b/include/views/SkOSWindow_Unix.h
index d9675799d2..f1a4698668 100644
--- a/include/views/SkOSWindow_Unix.h
+++ b/include/views/SkOSWindow_Unix.h
@@ -47,8 +47,6 @@ public:
//static bool PostEvent(SkEvent* evt, SkEventSinkID, SkMSec delay);
- //static bool WndProc(SkUnixWindow* w, XEvent &e);
-
protected:
// Overridden from from SkWindow:
virtual bool onEvent(const SkEvent&) SK_OVERRIDE;