| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "sky/shell/platform_view.h" | 5 #include "sky/shell/android/platform_view.h" |
| 6 | 6 |
| 7 #include <android/input.h> | 7 #include <android/input.h> |
| 8 #include <android/native_window_jni.h> | 8 #include <android/native_window_jni.h> |
| 9 | 9 |
| 10 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
| 11 #include "base/bind.h" | 11 #include "base/bind.h" |
| 12 #include "base/location.h" | 12 #include "base/location.h" |
| 13 #include "jni/PlatformView_jni.h" | 13 #include "jni/PlatformView_jni.h" |
| 14 #include "sky/shell/shell.h" | 14 #include "sky/shell/shell.h" |
| 15 | 15 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 ReleaseWindow(); | 72 ReleaseWindow(); |
| 73 } | 73 } |
| 74 | 74 |
| 75 void PlatformView::ReleaseWindow() { | 75 void PlatformView::ReleaseWindow() { |
| 76 ANativeWindow_release(window_); | 76 ANativeWindow_release(window_); |
| 77 window_ = nullptr; | 77 window_ = nullptr; |
| 78 } | 78 } |
| 79 | 79 |
| 80 } // namespace shell | 80 } // namespace shell |
| 81 } // namespace sky | 81 } // namespace sky |
| OLD | NEW |