Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Skia | 3 * Copyright 2011 Skia |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #ifndef SkOSWindow_Android_DEFINED | 10 #ifndef SkOSWindow_Android_DEFINED |
| 11 #define SkOSWindow_Android_DEFINED | 11 #define SkOSWindow_Android_DEFINED |
| 12 | 12 |
| 13 #include "SkWindow.h" | 13 #include "SkWindow.h" |
| 14 | 14 |
| 15 class SkIRect; | 15 struct SkIRect; |
|
tfarina
2014/10/30 16:59:34
You can also just remove this forward declaration
| |
| 16 | 16 |
| 17 class SkOSWindow : public SkWindow { | 17 class SkOSWindow : public SkWindow { |
| 18 public: | 18 public: |
| 19 SkOSWindow(void*) {} | 19 SkOSWindow(void*) {} |
| 20 ~SkOSWindow() {} | 20 ~SkOSWindow() {} |
| 21 | 21 |
| 22 enum SkBackEndTypes { | 22 enum SkBackEndTypes { |
| 23 kNone_BackEndType, | 23 kNone_BackEndType, |
| 24 kNativeGL_BackEndType, | 24 kNativeGL_BackEndType, |
| 25 }; | 25 }; |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 39 protected: | 39 protected: |
| 40 // overrides from SkWindow | 40 // overrides from SkWindow |
| 41 virtual void onHandleInval(const SkIRect&); | 41 virtual void onHandleInval(const SkIRect&); |
| 42 virtual void onSetTitle(const char title[]); | 42 virtual void onSetTitle(const char title[]); |
| 43 | 43 |
| 44 private: | 44 private: |
| 45 typedef SkWindow INHERITED; | 45 typedef SkWindow INHERITED; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 #endif | 48 #endif |
| OLD | NEW |