blob: eaecba5e0b4005ec65d51c2dfa15fd2bcc5cf014 [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:
mtklein36352bf2015-03-25 18:17:31 -070023 void onSizeChange() override;
caryclark936b7342014-07-11 12:14:51 -070024
25 virtual bool onDispatchClick(int x, int y, Click::State, void* owner,
mtklein36352bf2015-03-25 18:17:31 -070026 unsigned modi) override;
caryclark936b7342014-07-11 12:14:51 -070027
28private:
29 typedef SkOSWindow INHERITED;
30};
31
32#endif