| 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 "ui/platform_window/android/platform_window_android.h" | 5 #include "ui/platform_window/android/platform_window_android.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/context_utils.h" |
| 10 #include "base/android/jni_android.h" | 11 #include "base/android/jni_android.h" |
| 11 #include "jni/PlatformWindowAndroid_jni.h" | 12 #include "jni/PlatformWindowAndroid_jni.h" |
| 12 #include "ui/events/event.h" | 13 #include "ui/events/event.h" |
| 13 #include "ui/events/keycodes/keyboard_code_conversion_android.h" | 14 #include "ui/events/keycodes/keyboard_code_conversion_android.h" |
| 14 #include "ui/gfx/geometry/point.h" | 15 #include "ui/gfx/geometry/point.h" |
| 15 #include "ui/platform_window/platform_window_delegate.h" | 16 #include "ui/platform_window/platform_window_delegate.h" |
| 16 | 17 |
| 17 namespace ui { | 18 namespace ui { |
| 18 | 19 |
| 19 namespace { | 20 namespace { |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 | 217 |
| 217 void PlatformWindowAndroid::ConfineCursorToBounds(const gfx::Rect& bounds) { | 218 void PlatformWindowAndroid::ConfineCursorToBounds(const gfx::Rect& bounds) { |
| 218 NOTIMPLEMENTED(); | 219 NOTIMPLEMENTED(); |
| 219 } | 220 } |
| 220 | 221 |
| 221 PlatformImeController* PlatformWindowAndroid::GetPlatformImeController() { | 222 PlatformImeController* PlatformWindowAndroid::GetPlatformImeController() { |
| 222 return &platform_ime_controller_; | 223 return &platform_ime_controller_; |
| 223 } | 224 } |
| 224 | 225 |
| 225 } // namespace ui | 226 } // namespace ui |
| OLD | NEW |