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