| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
| 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 Window_android_DEFINED | 8 #ifndef Window_android_DEFINED |
| 9 #define Window_android_DEFINED | 9 #define Window_android_DEFINED |
| 10 | 10 |
| 11 #include "../Window.h" | 11 #include "../Window.h" |
| 12 #include "WindowContext_android.h" | |
| 13 #include "surface_glue_android.h" | 12 #include "surface_glue_android.h" |
| 14 | 13 |
| 15 namespace sk_app { | 14 namespace sk_app { |
| 16 | 15 |
| 17 class Window_android : public Window { | 16 class Window_android : public Window { |
| 18 public: | 17 public: |
| 19 Window_android() : Window() {} | 18 Window_android() : Window() {} |
| 20 ~Window_android() override {} | 19 ~Window_android() override {} |
| 21 | 20 |
| 22 bool init(SkiaAndroidApp* skiaAndroidApp); | 21 bool init(SkiaAndroidApp* skiaAndroidApp); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 41 private: | 40 private: |
| 42 SkiaAndroidApp* fSkiaAndroidApp = nullptr; | 41 SkiaAndroidApp* fSkiaAndroidApp = nullptr; |
| 43 SkRect fContentRect; | 42 SkRect fContentRect; |
| 44 DisplayParams fDisplayParams; | 43 DisplayParams fDisplayParams; |
| 45 BackendType fBackendType; | 44 BackendType fBackendType; |
| 46 }; | 45 }; |
| 47 | 46 |
| 48 } // namespace sk_app | 47 } // namespace sk_app |
| 49 | 48 |
| 50 #endif | 49 #endif |
| OLD | NEW |