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