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
This commit is contained in:
tfarina@chromium.org 2012-10-01 16:14:21 +00:00
Родитель 6ac79dc9da
Коммит 887760f60b
2 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -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:

Просмотреть файл

@ -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;