blob: a0a0a5e8a5c98666830bb8af485846390cb551f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/*
* Copyright 2014 Skia
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef iOSShell_DEFINED
#define iOSShell_DEFINED
#include "SkWindow.h"
class SkCanvas;
class SkEvent;
class SkViewFactory;
class ShellWindow : public SkOSWindow {
public:
ShellWindow(void* hwnd, int argc, char** argv);
virtual ~ShellWindow();
protected:
virtual void onSizeChange() SK_OVERRIDE;
virtual bool onDispatchClick(int x, int y, Click::State, void* owner,
unsigned modi) SK_OVERRIDE;
private:
typedef SkOSWindow INHERITED;
};
#endif
|