OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2012 Skia | 2 * Copyright 2012 Skia |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 | |
10 #ifndef SkOSWindow_NaCl_DEFINED | 8 #ifndef SkOSWindow_NaCl_DEFINED |
11 #define SkOSWindow_NaCl_DEFINED | 9 #define SkOSWindow_NaCl_DEFINED |
12 | 10 |
13 #include "SkWindow.h" | 11 #include "SkWindow.h" |
14 | 12 |
15 class SkIRect; | |
16 | |
17 class SkOSWindow : public SkWindow { | 13 class SkOSWindow : public SkWindow { |
18 public: | 14 public: |
19 SkOSWindow(void*) {} | 15 SkOSWindow(void*) {} |
20 ~SkOSWindow() {} | 16 ~SkOSWindow() {} |
21 | 17 |
22 enum SkBackEndTypes { | 18 enum SkBackEndTypes { |
23 kNone_BackEndType, | 19 kNone_BackEndType, |
24 kNativeGL_BackEndType, | 20 kNativeGL_BackEndType, |
25 }; | 21 }; |
26 | 22 |
(...skipping 16 matching lines...) Expand all Loading... |
43 protected: | 39 protected: |
44 // overrides from SkWindow | 40 // overrides from SkWindow |
45 virtual void onHandleInval(const SkIRect&); | 41 virtual void onHandleInval(const SkIRect&); |
46 virtual void onSetTitle(const char title[]); | 42 virtual void onSetTitle(const char title[]); |
47 | 43 |
48 private: | 44 private: |
49 typedef SkWindow INHERITED; | 45 typedef SkWindow INHERITED; |
50 }; | 46 }; |
51 | 47 |
52 #endif | 48 #endif |
OLD | NEW |